How to convert between PIxelFormat? [duplicate]
Possible Duplicate:
Converting Bitmap PixelFormats in C#
How to convert a Bitmap with different PixelFormat to the PixelFormat.Format32bppArgb format?
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
精彩评论