Re: [osg-users] osg, macosx-x86_64 imageio plugin color byte swap problem

2012-09-27 Thread Thomas Hogarth
Hi Guys Sorry to raise this again, but I'm currently having the same issue. Basically I am opening files, doing some bits and bobs to them and reexporting. Just for completeness I do alter the texture stateattributes, but not in a way I would think would matter. Here's what I'm doing Code:

Re: [osg-users] osg, macosx-x86_64 imageio plugin color byte swap problem

2012-09-27 Thread Thomas Hogarth
Oops Sorry, the last attached file had a bad png that the plugin can't load. I copied over it with a backup after the colors got swapped and forgot to run it through gimp which seems to sort it. Also I just tested embedding the image into the osgb file, which worked fine. Thanks Tom

Re: [osg-users] osg, macosx-x86_64 imageio plugin color byte swap problem

2012-09-27 Thread Thomas Hogarth
Hi Again So I've done some more digging and seems I'm hitting a case they may be known to not work. So in the function CreateCGImageFromOSGData under the case for GL_BGRA I am entering the else of the if statement. if(GL_UNSIGNED_INT_8_8_8_8_REV == osg_image.getDataType()). In there is this

Re: [osg-users] osg, macosx-x86_64 imageio plugin color byte swap problem

2012-02-22 Thread Stephan Maximilian Huber
Hi Chris, I tested the imageio-plugin on os x 10.7 with an older 32bit build (from Nov 2011) and it works for me. I tested only png and jpg files. HTH, Stephan Am 21.02.12 19:51, schrieb Chris Hanson: I had a user contact me for some assistance on this issue. I'm not an OSX/imageio guy,

Re: [osg-users] osg, macosx-x86_64 imageio plugin color byte swap problem

2012-02-22 Thread Ulrich Hertlein
Hi Chris, On 22/02/12 20:29 , Stephan Maximilian Huber wrote: I tested the imageio-plugin on os x 10.7 with an older 32bit build (from Nov 2011) and it works for me. I tested only png and jpg files. I've also tested imageio on 10.7 with a current 64-bit build (trunk) and it works okay (png,

Re: [osg-users] osg, macosx-x86_64 imageio plugin color byte swap problem

2012-02-22 Thread Chris Hanson
On Wed, Feb 22, 2012 at 2:55 AM, Ulrich Hertlein u.hertl...@sandbox.dewrote: Hi Chris, On 22/02/12 20:29 , Stephan Maximilian Huber wrote: I tested the imageio-plugin on os x 10.7 with an older 32bit build (from Nov 2011) and it works for me. I tested only png and jpg files. I've also

[osg-users] osg, macosx-x86_64 imageio plugin color byte swap problem

2012-02-21 Thread Chris Hanson
I had a user contact me for some assistance on this issue. I'm not an OSX/imageio guy, so I don't know the ramifications of this, and I thought I'd throw it out for the wider community to comment on before proposing a patch. From the user: We have found some image color ordering issue on MacOS