in reply to Re^2: How to improve image resolution
in thread How to improve image resolution...Continued
Try adding the truecolor parameter when you create your images:
$im = new GD::Image(1000,100, 1); ## Note the extra parameter!
From the GD docs:
The optional third argument, $truecolor, tells new() to create a truecolor GD::Image object. Truecolor images have 24 bits of color data (eight bits each in the red, green and blue channels respectively), allowing for precise photograph-quality color usage. If not specified, the image will use an 8-bit palette for compatibility with older versions of libgd.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: How to improve image resolution
by chakkaln (Sexton) on Aug 06, 2005 at 06:06 UTC | |
by BrowserUk (Patriarch) on Aug 06, 2005 at 06:13 UTC | |
by chakkaln (Sexton) on Aug 07, 2005 at 00:44 UTC | |
by BrowserUk (Patriarch) on Aug 07, 2005 at 08:09 UTC |