|Just another Perl shrine|
Re: Importing a PNG image to a piddleby syphilis (Canon)
|on Jul 18, 2012 at 00:26 UTC||Need Help??|
'can\'t figure out file type, specify explicitly'
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.)