in reply to Re: GD question
in thread GD question

best quality jpg and least compression png are still making a copy of a copy

I was under the impression that PNGs use lossless compression?

Replies are listed 'Best First'.
Re: Re: Re: GD question
by Taulmarill (Deacon) on Nov 10, 2003 at 08:55 UTC
    PNG is in fact lossless like gif, but you can turn down truecolor to 8Bit pallet. You could try using $image = GD::Image->newFromPng($file, [$truecolor]).
    The truecolor switch is new in GD 2.11, look here for more new things.