in reply to Importing a PNG image to a piddle
which works fine for me (iff pngtopnm.exe/pnmtopng.exe are in my path). I'm not familiar with the rim() function - afaictmy $piddle = PDL->rpic($path, {FORMAT => 'PNG'});
should also work, but for me that just produces:my $piddle = rim($path, {FORMAT => 'PNG'});
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.Can't locate object method "dim" via package "file.png" (perhaps you f +orgot to load "file.png"?) at C:/MinGW/perl516/site/lib/PDL/IO/Pic.pm + line 570.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Importing a PNG image to a piddle
by perldough (Sexton) on Jul 18, 2012 at 15:56 UTC |