Hi Robert and all,

I'm lost:
- Changing R, G or B writer's masks doesn't seem to affect reading (either the 
plugin or 3rd-party readers, except when masks are completely nonsense)
- Copying the image (DEEP_COPY) and writing the copy instead of the oringinal 
result in a vertical flip of the image in the file!
- Manually inverting R & B channels in a copy of the image doesn't do 
anything...
I must have a very stupid mistake somewhere but I can't fugure out where...

Any idea?

Sukender
PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/

----- "Robert Osfield" <robert.osfi...@gmail.com> a écrit :

> Hi Sukender,
> 
> I'm not overly familiar with the dds plugin, but what you describe
> sounds like a bug in writer in our dds plugin.
> 
> Robert.
> 
> On Fri, Dec 18, 2009 at 5:15 PM, Sukender <suky0...@free.fr> wrote:
> > Hi all,
> >
> > It was discussed a long time ago but I dit not find an answer.
> Saving to DDS an uncompressed RGB image and then loading from the file
> works: the loaded image is the same as the original. However, the file
> is BGR (R and B inverted). I tried three 3rd-party tools (image
> viewer/converters) and all display the same.
> > Do you think this is a bug in DDS readerwriter? Anyone has a clue
> about it?
> > Thanks a lot.
> >
> > Sukender
> > PVLE - Lightweight cross-platform game engine -
> http://pvle.sourceforge.net/
> > _______________________________________________
> > osg-users mailing list
> > osg-users@lists.openscenegraph.org
> >
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to