From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Subject: Re: [9fans] PNG and APE (cntd) Date: Thu, 27 Apr 2006 19:51:33 +0200 From: lucio@proxima.alt.za In-Reply-To: <44506363.3070407@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Cc: eugene@dynagen.co.za Topicbox-Message-UUID: 487e1482-ead1-11e9-9d60-3106f5b1d025 > I don't know if I understood correctly your question, but although GIF > uses LZW instead of zlib (LZ77 iirc), it can stand only for 256 > different colors - hence it my be smaller than PNG, as PNG allows 32bit > colors fine (being 8 for alpha). The question was poorly phrased. But yes, the comparison is between PNG and GIF, specifically, because if baffled me when somebody showed me figures that suggested the same image in PNG was larger than in GIF. I can only presume that PNG encoders increase the pixel depth, for whatever reason. And, BTW, PNG allows 16-bit per colour, a 48-bit depth per pixel. Thanks to libpng, my "npng" can render these as 24-bit images. ++L