Your script gives same error under Win32 and Strawberry; I installed latest IM 7.1.1-11 and then Image::Magick. Though they specifically warn:
Note, reading from or writing to a Perl filehandle may fail under Windows
maybe this plague has spread to Linux lately.
Reading from file (providing a filename) works. And this also works:
my $i = Image::Magick-> new( magick => 'svg' ); $i-> BlobToImage( do { undef $/; <DATA> } ); $i-> Write( 'junk.png' ); # to test
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Image::Magick - Exception 435: unable to open file `Image::Magick::Q16' @ error/Q16.xs/XS_Image__Magick__Q16_Read/13529
by mldvx4 (Hermit) on Jun 08, 2023 at 11:25 UTC |