[osg-users] Warning: Error in reading to jpg images

Robert Osfield robert.osfield at gmail.com
Mon Nov 6 00:42:26 PST 2017


Hi Rômulo,

I have had a look at the debug output and the error message is being
reported prior to any of the OSG messages. I had done a search for the
warning string in the OSG using:


    cd OpenSceneGraph
    grep -r "Warning: Error in reading to" .


But don't get any hits.  It looks to me like the OSG isn't coming from
the OSG side.

Robert.

On 4 November 2017 at 22:37, Rômulo Cerqueira
<romulogcerqueira at gmail.com> wrote:
> Hi community!
>
> I got some problems by loading JPG images using OSG.
>
> When I read them directly using osgviewer, the images are loaded with success.
>
>
> Code:
>
> osgviewer --image /home/romulo/gray_texture_n.jpg
>
>
>
>
> However, the problem occurs when I read the images by OSG code, as presented in my unitary test code: https://github.com/Brazilian-Institute-of-Robotics/simulation-normal_depth_map/blob/master/test/NormalMapping_test.cpp
>
> I got the following output message:
>
> Code:
>
> Warning: Error in reading to "/home/romulo/gray_texture_n.jpg".
>
>
>
>
> How can I fix this? I will appreciate any information or help on the same.
>
> Cheers,
> Rômulo[/code][/b]
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=72307#72307
>
>
>
>
> Attachments:
> http://forum.openscenegraph.org//files/screenshot_from_2017_11_04_19_31_10_130.png
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


More information about the osg-users mailing list