Hey Krish,
..Net Compact Framework don't supports 48bbp images. The best supported
pixelformat is "Format32bbpRgb". If you want to use the image, you need to
convert it.
[PixelFormat Enumeration]
http://msdn.microsoft.com/en-us/library/system.drawing.imaging.pixelformat(VS.80).aspx
Regards,
Carsten Unterberg | Test-Framework
http://test-framework.blogspot.com/
"Krish" <(E-Mail Removed)> schrieb im Newsbeitrag
news:35c87b4c-b6fa-45af-ae5f-(E-Mail Removed)...
> Hi,
>
> The issue is reproducible only on a WM 6 emulators, NETCF 2.0.
>
> I am trying to load a 48bpp PNG image to a Picture box, it throws the
> below exception
>
> at Microsoft.AGL.Common.MISC.HandleAr()
> at System.Drawing.Bitmap._InitFromMemoryStream()
> at System.Drawing.Bitmap..ctor()
>
> Can someone shed some light on the issue
>
> Thanks,
> Krish