matua105 has asked for the wisdom of the Perl Monks concerning the following question:
$image = GD::Image->newFromPng($container);
The image displays, however the resolution is poor. How do I increase the quality of the resolution of the png?
Lincoln Stein's GD website says that if the original png is in true color it will display in true color, but that is not happening here.
Being a newbie, I have tried to implement the truecolor method but I am getting an internal server error most likely because I am doing it wrong.
Can the monks help me here? Thanks in advance for your wisdom.
*******Thanks to all who gave their input on this issue. I changed all the pngs to jpgs and this solved the resolution problem. I looked at all the png information on the net via google, downloaded gimp and followed the advice there to use jpegs instead of pngs.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: GD:image resolution issue
by zentara (Cardinal) on Aug 10, 2010 at 21:00 UTC | |
by matua105 (Novice) on Aug 10, 2010 at 21:28 UTC | |
by ikegami (Patriarch) on Aug 11, 2010 at 16:15 UTC | |
|
Re: GD:image resolution issue
by BrowserUk (Patriarch) on Aug 10, 2010 at 21:07 UTC | |
by matua105 (Novice) on Aug 10, 2010 at 21:31 UTC | |
by BrowserUk (Patriarch) on Aug 10, 2010 at 22:29 UTC | |
by matua105 (Novice) on Aug 10, 2010 at 23:35 UTC | |
by BrowserUk (Patriarch) on Aug 11, 2010 at 01:15 UTC | |
|