db2admin has asked for the wisdom of the Perl Monks concerning the following question:
When I run the above syntax on a Linux machine(shared web server), the write portionmy $rc; my $im = Image::Magick->new(); $rc = $im->Read("../temp/test.jpg"); warn($rc), next if $rc; .... .... my $geometry = "$newwidth_t x $newheight_t"; $rc = $im->Scale(geometry => $geometry); warn($rc), next if $rc; $rc = $im->Write("JPG:../thumbs/test.jpg"); warn($rc) if $rc;
Does anyone have any hints as to why this may be erroring out? Or is there a way to debug the
script on the server (since my test platform, Windows 98, is different from the
server platform, Linux). Thanks.
David K.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Image Magick question
by Zaxo (Archbishop) on Nov 30, 2002 at 04:54 UTC | |
|
Re: Image Magick question
by Aristotle (Chancellor) on Nov 30, 2002 at 19:00 UTC | |
by db2admin (Acolyte) on Nov 30, 2002 at 19:35 UTC | |
|
Re: Image Magick question
by vek (Prior) on Nov 30, 2002 at 18:13 UTC |