3

Possible Duplicate:
Converting Bitmap PixelFormats in C#

How to convert a Bitmap with different PixelFormat to the PixelFormat.Format32bppArgb format?

Community
  • 1
  • 1
Peter17
  • 3,052
  • 9
  • 47
  • 77

1 Answers1

4

Try to use next

var bmp = new Bitmap(yourImage.Width, yourImage.Height, System.Drawing.Imaging.PixelFormat.Format16bppRgb555);
using (var gr = Graphics.FromImage(bmp))
    gr.DrawImage(yourImage, new Rectangle(0, 0, yourImage.Width, yourImage.Height));

bmp - will have 16 bit quality. Specify PixelFormat to what you want

Stecya
  • 22,896
  • 10
  • 72
  • 102