Image.Save, not supported?

Hi all

Can someone confirm if save the method in the image class is not supported in the compact framework V2.0.

If I call it I get a notsupportedexception which would say its not, I have tried to check in reflector but that does not show any source code for V2.0 assemblies for some reason.

Thanks in advance.
Dan

[326 byte] By [DanielHawkins] at [2007-12-16]
# 1

As far as I remember only BMP encoder is available. Are you trying to save in different format?

IlyaTumanov at 2007-9-9 > top of Msdn Tech,Smart Device Development,.NET Compact Framework...
# 2
Hi Ilya

Yeah I was trying jpeg, and png.

DanielHawkins at 2007-9-9 > top of Msdn Tech,Smart Device Development,.NET Compact Framework...
# 3
Hi Dan,

The save method for jpeg, gif and png formats are supported in the image class for Windows Mobile 5.0 and WinCE 5.0 only. On PPC 2003, the save method supports only the bmp format. This is a limitation due to the OS.

Cheers,
Anthony

AnthonyWong at 2007-9-9 > top of Msdn Tech,Smart Device Development,.NET Compact Framework...