[SOLVED] PNMImage not loading


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

	PNMImage* pImage = new PNMImage();

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


nvm I was not following that syntax.