Re: Bit Depth

Glenn Randers-Pehrson <[email protected]>
Newsgroups gmane.comp.graphics.png.devel
Message-ID <CA+PdXctvGFLxVMJ03Go8rMMpMCwcJNq5-H3aNbKb8fCJ7xeY9g@mail.gmail.com>
On Tue, Dec 13, 2016 at 7:50 PM, Ruben Safir <ruben-v1XHP5QhJixWk0Htik3J/[email protected]> wrote:

>
> Indeed, I have 8 bit precision and color type of 6, and I've confirmed
> this visually with od.
>
> How can that be?  I don't even know what that prepresents.  The image
> has almost 29,000 unique colors.  That is not 2^8.
>
> :(
>
> I've research then for nearly 2 days and can't find an explanation for
> this and how it implimented.  And I'm very stuck.  Does this mean the
> color is 2^8 x 2^8 x 2^8?


Yes, 16 million colors x 256 alphas: Color type 6, bit-depth 8 means
RGBA8888.

See
https://www.w3.org/TR/PNG/#11IHDR


> That would be the 24 bit color I've come to
> know and love.
>

Color type 2, bit-depth 8 is 24-bit RGB888.

Glenn

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot

_______________________________________________
png-mng-implement mailing list
png-mng-implement-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/png-mng-implement
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.