Search found 4 matches

by dj_judas21
2011-02-07T08:24:21-07:00
Forum: PerlMagick
Topic: Can't Read an image file
Replies: 9
Views: 39759

Re: Can't Read an image file

I'm using ImageMagick from Fedora's yum repo: [jg4461@cse-jeg ~]$ yum list installed ImageMagick* Loaded plugins: presto, refresh-packagekit Installed Packages ImageMagick.x86_64 6.6.4.1-15.fc14 ImageMagick-c++.x86_64 6.6.4.1-15.fc14 ImageMagick-perl.x86_64 6.6.4.1-15.fc14 It isn't really practical ...
by dj_judas21
2011-02-07T07:02:59-07:00
Forum: PerlMagick
Topic: Can't Read an image file
Replies: 9
Views: 39759

Re: Can't Read an image file

The first command worked, and wrote out a logo. The second command failed with the same "no such file" message.

I presume the Read() call can take a whole path like Read("/home/jonathan/Pictures/logo.pnm") rather than having to cd and then calling Read("logo.pnm") ?
by dj_judas21
2011-02-07T05:55:44-07:00
Forum: PerlMagick
Topic: Can't Read an image file
Replies: 9
Views: 39759

Re: Can't Read an image file

To follow up, if I change my die to die $! the given error is "No such file or directory". However, I am absolutely 100% sure that the path and permissions are correct, since the $filePath variable is used in an earlier call to read some EXIF data from the JPG. This works fine. The usual s...
by dj_judas21
2011-02-07T05:21:19-07:00
Forum: PerlMagick
Topic: Can't Read an image file
Replies: 9
Views: 39759

Can't Read an image file

Hi all, I'm trying to use PerlMagick to open and read in a jpg file, but I've had no luck so far. This is my code snippet: # Open the inputImage for reading my $inputImage = Image::Magick->new; my $status = $inputImage->Read($filePath) or die; print "$file status $status\n"; The script die...