On Thu, Feb 11, 2010 at 5:12 PM, Don Leich <d...@ilight.com> wrote:
> Hi Jim,
>
> I've been bit by this one.  It seems that osgDB::writeImageFile does not
> correctly support images with pixelFormat = GL_RGBA for JPEG files.
> I think you'll find that changing to GL_RGB will get you a good file.

Standard JPEG doesn't support transparency.  So I can't see how the
JPEG could even support writing RGBA JPEG's...

The best we can do is fail gracefully.

Robert.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to