Hi Robert, Romulo,

I have the exact same behavior with 3.5.5 with png files. Curious what this
can be

Nick

On Thu, Aug 10, 2017 at 7:53 AM, Robert Osfield <robert.osfi...@gmail.com>
wrote:

> Hi Rômulo,
>
> Given osgivewer --image is work then it suggests that the jpeg file itself
> is OK, and the the OSG's jpeg plugin is OK and being found on loading.
>
> This suggests the error coming from your application for some reason.
> Could you post a code snippet for others to review to see if we can spot
> the cause of the problem.
>
> Also enable verbose debugging to see if this reveals anything i.e.
>
>     export OSG_NOTIFY_LEVEL=DEBUG
>     osgviewer --image /home/romulo/textures/gray_texture_d.jpg
>
> Finally when posting error messages could you make sure you copy and paste
> them directly into the email to make it possible to grep the OSG sources
> for the error message.  This would help with pinpointing where the error
> message is being generated and might provide some additional clues.
>
> Robert.
>
>
>
> On 7 August 2017 at 23:36, Rômulo Cerqueira <romulogcerque...@gmail.com>
> wrote:
>
>> Hi,
>>
>> currently I have a problem to load and process image files in my OSG c++
>> code. I got the message:
>>
>>
>> Code:
>> Warning: Error in reading to "/home/romulo/textures/gray_texture_d.jpg".
>>
>>
>>
>> However, this image exists and I can open it using:
>>
>>
>> Code:
>> $ osgviewer --image /home/romulo/textures/gray_texture_d.jpg
>>
>>
>>
>> What might have been?
>>
>> ...
>>
>> Thank you!
>>
>> Cheers,
>> Rômulo[/code]
>>
>> ------------------
>> Read this topic online here:
>> http://forum.openscenegraph.org/viewtopic.php?p=71379#71379
>>
>>
>>
>>
>>
>> _______________________________________________
>> 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
>
>


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

Reply via email to