|Don't ask to ask, just ask|
Re: Importing a PNG image to a piddleby syphilis (Chancellor)
|on Jul 18, 2012 at 00:26 UTC||Need Help??|
'can\'t figure out file type, specify explicitly'
You need to specify the format. (Seems to be a Windows thing only.) So, I would do:
which works fine for me (iff pngtopnm.exe/pnmtopng.exe are in my path). I'm not familiar with the rim() function - afaict
should also work, but for me that just produces:
Update: the rim() function is broken in my build of PDL (version 2.4.11), and may well have been broken for quite some time.
It just calls rpic() anyway, so use that instead.
(For my test script, $path was set to file.png ... obviously.)