Perl: the Markov chain saw | |
PerlMonks |
Re: Image::Magick - Exception 435: unable to open file `Image::Magick::Q16' @ error/Q16.xs/XS_Image__Magick__Q16_Read/13529by kcott (Archbishop) |
on Jun 08, 2023 at 13:08 UTC ( [id://11152695]=note: print w/replies, xml ) | Need Help?? |
G'day mldvx4, As I'm not a user of Image::Magick, I left responses to those with more knowledge; however, I see after two days you still have no resolution, so here's some suggestions. Image::Magick has minimal documentation and points to "PerlMagick Image API for Perl". That appears to be rather dated ("Copyright © 1999") and has Perl code of a similar vintage. It has various issues such as no I/O exception handling and use of a package variable for a filehandle. It looks like your posted code is based on this. I'd probably write it more like this:
You said: "I gave it a try and switched from using a file handle to using just a file name ...". I don't know how you implemented that in code; I've used both a filehandle ($fh) and a filename ($svg_filename). Do note that is untested code: I don't have Image::Magick installed. — Ken
In Section
Seekers of Perl Wisdom
|
|