Justin wrote:

> Thanks to Robert and Paul, I created the attached application to do
the 
> terrain database conversion.  Perhaps it will be of some use to
someone else.
> 
> Using this application, my paged database of 655936 kB was converted
to a 
> non-paged database of 415288 kB.
> 
> Of course, I decided to take it a step further and perform texture
conversions 
> as well.  I wanted to convert the .dds texture files to .jpg.  This
code is 
> stubbed in; however, it does not work.  I thought I could simply call 
> osgDB::writeImageFile.  Unfortunately, the individual image format
writer 
> plugins do not appear to handle converting from different pixel
formats or 
> packing.  Does OSG contain code for converting osg::Image between
different 
> pixel formats?  Am I missing an easier option?
> 
> Thanks,
> Justin

Justin,

I didn't see any additional traffic on this thread. Were you able to get
a
solution to this image conversion problem. I'm now facing a similar
situation
with the .dds image node from generated osgdem tiles and want to convert

those images into .jpg or other formats.

Regards,
Tom 
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to