Hello , 
I have a problem when using imageOverlay on my earth, 
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 and it look correct: 
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: http://forum.osgearth.org/file/n7581916/badImage.png


CORRECT IMAGE:         http://forum.osgearth.org/file/n7581916/tempView.png

INCORRECT IMAGE:     http://forum.osgearth.org/file/n7581916/tempView_Hide.png

So what can be the probleme?THANKS. 
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to