Пример #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="image"></param>
 /// <param name="imageEncoding"></param>
 /// <param name="palette"></param>
 /// <param name="paletteEncoding"></param>
 public IndexedBitmapInfo(Bitmap image, EncodingInfo imageEncoding, IList <Color> palette, EncodingInfo paletteEncoding) : base(image, imageEncoding)
 {
     Palette         = palette;
     PaletteEncoding = paletteEncoding;
 }
Пример #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="image"></param>
 /// <param name="imageEncoding"></param>
 public BitmapInfo(Bitmap image, EncodingInfo imageEncoding)
 {
     Image         = image;
     ImageEncoding = imageEncoding;
 }