[Mono-list] Format24bppRgb Format16bppRgb555 Format48bppRgb as 32-bit RGB in mono SUSE

Vandana_hcl vandanan at hcl.in
Mon Mar 2 06:45:04 EST 2009


I am using the following code in Mono V2.2 on SUSE Linux Enterprise Desktop

Bitmap bmp2 = bmp.Clone(new Rectangle(0, 0, bmp.Width, bmp.Height),
PixelFormat.Format24bppRgb )

Same code creates a 24 RGP BMP image in Windows. But in mono it creates a 32
bit depth image.
Not only this, if I am using "Format48bppRgb" or "Format16bppRgb555 " also
it is generating a same 32 bit image.

Any help is really appreciated.
View this message in context: http://www.nabble.com/Format24bppRgb-Format16bppRgb555-Format48bppRgb-as-32-bit-RGB-in-mono-SUSE-tp22286645p22286645.html
Sent from the Mono - General mailing list archive at Nabble.com.

More information about the Mono-list mailing list