CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate:
Image::Magick

 



colinjay
New User

Jun 15, 2013, 2:06 PM

Post #1 of 1 (131 views)
Image::Magick Can't Post

I have been using the following script to resize jpg images for some time apparently without a problem but now realize that images set to 72dpi are not being resized. Perl running on an apache server. Any help gratefully received.

my ($file)=@_;
my ($image);

$image=Image::Magick->new;
$image->Read($file);
$image->Strip();
$image->Resize(geometry=>'400x400>');
unlink $file;
$image->Write("../photo_file/$file");
undef $image;

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives