Hi,
   I uninstall all old ImageMagick and dependency rpms which were
installed when installed system. And then reinstall ImageMagick.
Although not all test passed, but it seems work now. 
   And than, I got another problem is during the script, there is a
method:

sub image_resize_width {
        my ($status) = "resize_ok";
        my $i = Image::Magick->new;
        my($result)= $i->Read($file);
        $i = $i->Transform(geometry=>$width);

        $result = $i->Write($file);
        print $result;
    
        if( $! ){ $status = "resize_err" }
        
        return $status ;
}

When run to the "$i = $i->Transform(geometry=>$width);" it seems
something wrong. As I am a new to perl and ImageMagick, I can not find
the wrong message(die is not work). And
Can not find help information about Transform method. So anyone know it?

Thanks!


_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to