D
Darkvisor
Hi,
I'm trying to display a JPEG image which I have in a memory stream.
I'm using
Bitmap img = new Bitmap( imgStream );
This works fine when I target an XP box but fails to decode the JPEG
correctly when I target the Compact Framework and use the Pocket PC
2002 & 2003 emulator. The JPEG is decoded without error but of the
wrong size. It should be 8 wide by 10560 high but usually is 7 wide by
9926 high, this varies depending on the actual image contents. Actual
error is Wrong Arg. when I call GetPixel.
Has anyone got an answer for this? I'm I going mad?
Cheers
Dave.
I'm trying to display a JPEG image which I have in a memory stream.
I'm using
Bitmap img = new Bitmap( imgStream );
This works fine when I target an XP box but fails to decode the JPEG
correctly when I target the Compact Framework and use the Pocket PC
2002 & 2003 emulator. The JPEG is decoded without error but of the
wrong size. It should be 8 wide by 10560 high but usually is 7 wide by
9926 high, this varies depending on the actual image contents. Actual
error is Wrong Arg. when I call GetPixel.
Has anyone got an answer for this? I'm I going mad?
Cheers
Dave.