in reply to GD Anti Aliasing
That is, if you also allocate:When using palette-based images, be sure to allocate a broad spectrum +of colors in order to have sufficient colors for the antialiasing to +use
then you'll find that you get some Anti Aliasing. I'm not sure that you'll be able to actually *see* the difference, but a Digest::MD5 of the output files should reveal that the output has in fact changed. (At least that's what I'm finding on perl-5.8 on Win32.)my $grey = $gd->colorAllocate(130,130,130); my $grey1 = $gd->colorAllocate(32,32,32); my $grey2 = $gd->colorAllocate(64,64,64); my $grey3 = $gd->colorAllocate(190,190,190);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: GD Anti Aliasing
by BrowserUk (Patriarch) on Jan 15, 2009 at 10:40 UTC | |
by syphilis (Archbishop) on Jan 15, 2009 at 10:48 UTC | |
by BrowserUk (Patriarch) on Jan 15, 2009 at 10:51 UTC | |
by syphilis (Archbishop) on Jan 15, 2009 at 10:56 UTC |