<div dir="ltr"><div><div><div><div><div><div><div>Hi Rômulo,<br><br></div>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.<br><br></div>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.<br><br></div>Also enable verbose debugging to see if this reveals anything i.e.<br><br></div>    export OSG_NOTIFY_LEVEL=DEBUG<br></div>    osgviewer --image /home/romulo/textures/gray_<wbr>texture_d.jpg<br><br></div>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.<br><br></div>Robert.<br><div><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 7 August 2017 at 23:36, Rômulo Cerqueira <span dir="ltr"><<a href="mailto:romulogcerqueira@gmail.com" target="_blank">romulogcerqueira@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
currently I have a problem to load and process image files in my OSG c++ code. I got the message:<br>
<br>
<br>
Code:<br>
Warning: Error in reading to "/home/romulo/textures/gray_<wbr>texture_d.jpg".<br>
<br>
<br>
<br>
However, this image exists and I can open it using:<br>
<br>
<br>
Code:<br>
$ osgviewer --image /home/romulo/textures/gray_<wbr>texture_d.jpg<br>
<br>
<br>
<br>
What might have been?<br>
<br>
...<br>
<br>
Thank you!<br>
<br>
Cheers,<br>
Rômulo[/code]<br>
<br>
------------------<br>
Read this topic online here:<br>
<a href="http://forum.openscenegraph.org/viewtopic.php?p=71379#71379" rel="noreferrer" target="_blank">http://forum.openscenegraph.<wbr>org/viewtopic.php?p=71379#<wbr>71379</a><br>
<br>
<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.<wbr>openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.<wbr>org/listinfo.cgi/osg-users-<wbr>openscenegraph.org</a><br>
</blockquote></div><br></div>