K
kenny
i face a problem when i scaling the dynamic gif image.
after scale the image, the image have appear incorrectly.
my code is like below:
###########################
!/usr/local/bin/perl
use strict;
use Image::Magick;
my $image = new Image::Magick;
$image->Read('sample.gif');
my $Width = $image->Get('Width');
my $Height = $image->Get('Height');
$Width = $Width * 0.7;
$Height = $Height * 0.7;
$image->Scale(Height=>$Width, $Height);
$image->Write('gif:scale.gif');
########################################
so someone have know solution not or any extra methd use to scale the gif image?
after scale the image, the image have appear incorrectly.
my code is like below:
###########################
!/usr/local/bin/perl
use strict;
use Image::Magick;
my $image = new Image::Magick;
$image->Read('sample.gif');
my $Width = $image->Get('Width');
my $Height = $image->Get('Height');
$Width = $Width * 0.7;
$Height = $Height * 0.7;
$image->Scale(Height=>$Width, $Height);
$image->Write('gif:scale.gif');
########################################
so someone have know solution not or any extra methd use to scale the gif image?