I was trying to Converts and saves TIFF files with Group 4 compression , max width of 5800 px, max height of 5800 px and a distort aspect of 1.
Here is a list of commands I used:
my $res = $image->Set(compression=>'Group4');
my $res = $image->Scale(width=>5800, height=>5800);
my $res = $image->Write($outfile);
I tested it with an image of 4.3M and a Width of 2588 and length of 1731.
The output is ridiculous: a 22M image with a width of 5800 and length of 3879.
Anybody can tell me where i am wrong? Thanks for the help.
problem with enlarge an image using Scale/Sample
problem with enlarge an image using Scale/Sample
Last edited by ycul on 2006-12-04T15:08:15-07:00, edited 1 time in total.