I have a tiff image that I create from it an thumbnail with gdal_translate: "gdal_translate.exe -outsize 300 400 -of PNG -ot byte -scale image.tif thumbnail.png"
than I load it on the earth(osgEarth) and it look correct: [Image: http://forum.osgearth.org/file/n7581916/goodImage.png ] But when I remove the no_data from the image (png): "gdal_translate.exe --a_nodata 0 -of PNG -ot byte thumbnail.png thumbnail_no_data.png" it look correct in the Windows viewer, but when I load it, I have a strange result: [Image: http://forum.osgearth.org/file/n7581916/badImage.png ] I tested my image with:osgviewer --image file.png and it look wrong. I had attached my two images: [Image: http://forum.osgearth.org/file/n7581916/tempView.png ] [Image: http://forum.osgearth.org/file/n7581916/tempView_Hide.png ] So what can be the probleme?THANKS. ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=55199#55199 Attachments: http://forum.openscenegraph.org//files/tempview_hide_881.png http://forum.openscenegraph.org//files/tempview_105.png _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

