Hi Mohammed,
I see the problem with the tempView_Hide.png, when running the OSG
with OSG_NOTIFY_LEVEL set to DEBUG the ong plugin outputs the message:
width=300 height=298 depth=8
color == PNG_COLOR_TYPE_GRAY
I checked the plugin and it does have code hadnling
PNG_COLOR_TYPE_GRAY so I would have expected it to be a supported
type. I'm not the author of the plugin so really just in the same
position as you as to how to go about debugging it further. It could
be a bug in libpng, or it could be a bug in the OSG's handling of this
specific variant of the png format.
The best I can recommend is working through the png plugin to see how
it's converting the data to see it's making an error somewhere.
Robert.