vinumanikandan has asked for the wisdom of the Perl Monks concerning the following question:
Please let me know what to do to increase the resoultion of the image (above is psuedo code)my $im = new GD::Image(710,$Image_Height); my $white = $im->colorAllocate(255,255,255); my $black = $im->colorAllocate(0,0,0); my $blue = $im->colorAllocate(0,0,255); $im->transparent($white); $im->interlaced('true'); $im->filledRectangle($Trans_X1,$Image_Height-20,$Trans_X1,$Image_Heigh +t-10,$scale_line); ### Scale ###### $im->filledRectangle($Trans_X1+$Scale_Length,$Image_Height-20,$Tra +ns_X1+$Scale_Length,$Image_Height-10,$scale_line); ### Scale ###### $im->string(gdSmallFont,$Trans_X1,$Image_Height-32,1,$scale_line); $im->string(gdSmallFont,$Trans_X1+$Scale_Length,$Image_Height-32,$ +Length,$scale_line); open OUT,">$ID.png"; binmode OUT; # Convert the image to PNG and print it on standard output print OUT $im->png; close OUT;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to increase the resoultion of an PNG image
by moritz (Cardinal) on Dec 18, 2010 at 20:02 UTC | |
by vinumanikandan (Initiate) on Dec 21, 2010 at 10:37 UTC | |
by moritz (Cardinal) on Dec 21, 2010 at 11:12 UTC | |
|
Re: How to increase the resoultion of an PNG image
by BrowserUk (Patriarch) on Dec 18, 2010 at 20:58 UTC | |
by vinumanikandan (Initiate) on Dec 21, 2010 at 10:51 UTC | |
|
Re: How to increase the resoultion of an PNG image
by Anonyrnous Monk (Hermit) on Dec 18, 2010 at 20:18 UTC | |
|
Re: How to increase the resoultion of an PNG image
by Anonymous Monk on Dec 18, 2010 at 19:14 UTC | |
|
Re: How to increase the resoultion of an PNG image
by Khen1950fx (Canon) on Dec 19, 2010 at 03:54 UTC |