Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=80842 --- shadow/80842 2007-02-14 03:52:37.000000000 -0500 +++ shadow/80842.tmp.9140 2007-02-14 09:20:49.000000000 -0500 @@ -50,6 +50,26 @@ bitmap = new Bitmap(1, 1, PixelFormat.Format8bppIndexed); Palette8Bit = bitmap.Palette; bitmap.Dispose(); So I think de difference is in deafult palettes. To provide compatibility with GDI+, libgdiplus should use the same palettes. + +------- Additional Comments From [EMAIL PROTECTED] 2007-02-14 09:20 ------- +Yes, the original bitmap is 32bpp, while the one created inside the +ImageList is 8bpp indexed. + +mono --trace=T:System.Drawing.GDIPlus 80842.exe + +... +ENTER: (wrapper managed-to-native) +System.Drawing.GDIPlus:GdipCreateBitmapFromScan0 +(int,int,int,System.Drawing.Imaging.PixelFormat,intptr,intptr&)(1, 1, +0, 2498570, (nil), [BYREF:0xbff3c8c8], ) +... +ENTER: (wrapper managed-to-native) +System.Drawing.GDIPlus:GdipCreateBitmapFromScan0 +(int,int,int,System.Drawing.Imaging.PixelFormat,intptr,intptr&)(1, 1, +0, 198659, (nil), [BYREF:0xbff3c5dc], ) +... + +I'll check the default palettes. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
