Hi Robert,

attached a modified jpeg plugin that allows writing of grayscale images.

The attached test app shows that currently (svn 10495) the jpeg writer assumes 3 component images as input. So when a grayscale image is passed in, one either gets a segfault or a corrupted output image.

regards
jp


--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support.

Attachment: osg_jpeg_test.tgz
Description: application/compressed-tar

Attachment: ReaderWriterJPEG.cpp.gz
Description: GNU Zip compressed data

_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to