First stab at an image processing library. Does contrast, brightness, B&W and colour invert. Have a play. Can easily add gamma correction in the future as it already linearises colour values for internal processing assuming the standard sRGB gamma of 2.2 and reapplies the same gamma on output. Applying a different gamma would be trivial.simple picture processing (brightness, contrast, Gamma being the obvious examples)
bitmapstreamsaver.SaveImageToStream(client2.GetStream,mybitmap.Value,"J")
This an error, the missing assembly contains complete error messages, caused by another error that therefore cannot be displayed. The missing assembly is sometimes not installed to save space. See here http://www.b4x.com/forum/showthread.php?t=870complains on the device about an optionally assembly that cannot be found.
I have since found an authoritative quote from Microsoft that only WM5.0 and later support saving other formats than BMP. The OS DLL in WM2003 can apparently do it but the OS code to exploit it was omitted for some reason.It looks like the Treo 750 is one of those devices that doesn't natively support saving to JPEG. Fortunately I was able to fall back on BMP.
Nothing to do with that, that was an omission. Bitmaps in files can be saved top down or bottom up, normally bottom up. Wikipedia - "Uncompressed Windows bitmaps can also be stored from the top row to the bottom, if the image height value is negative". It looks like for some reason the Compact Framework saves bmps top down - I have no idea why! Apps may or may not interpet this correctly if they don't expect negative values.or is it also due to WM 2003 as for saving jpg and gif format which do not work either?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?