[SOLVED] PNMImage not loading

hi,

I am trying to load a png image file via the PNMImage class.

	PNMImage* pImage = new PNMImage();
	pImage->read(pFilename);

I’ve tried all sorts of combination for pFilename

absolute and relative paths but nothing seems to make it load the image properly.

So I wonder , am I doing it right ?

oh dear, I’ve just seen this

http://www.panda3d.org/manual/index.php/Panda_Filename_Syntax

nvm I was not following that syntax.