Last post Sep 21, 2009 06:25 AM by magicjoef
Sep 19, 2009 10:07 AM|magicjoef|LINK
I am running a script in VB that resizes and image during the upload process.
I get a file created as expected, and it seems fine. I can preview it in Windows and the image also appears okay in browsers.
However, when trying to open in image editing programs such as Photoshop I get an error saying 'unkown or invalid JPEG marker type was found'. Is there something I can do to avoid this?
Sep 21, 2009 06:25 AM|magicjoef|LINK
It turned out I needed to use ImageFormat.Jpeg when I saved my image. However, this did degrade the image quality, so I then had to go back and set the jpeg encoder compression level.
Please post if you have any questions about that process.