Re: Support of RGBA 10x10x10x2 ?

Glenn Randers-Pehrson <[email protected]>
Newsgroups gmane.comp.graphics.png.general
Message-ID <CA+PdXcvKNm1xF3ZQ4+rPoRNZ2-kYm7SWKDHwXJ6jXqqSNLk-YA@mail.gmail.com>
On Fri, Jan 13, 2017 at 2:52 PM, Alexey Solovey <[email protected]> wrote:

> Hello. Will support PNG format as RGBA/RGB 10x10x10x2 bits?
>

Yes, of course.  You write a 16-bit RGBA 16x16x16x16 together with
the sBIT chunk that conveys the channel depths (sBIT 8 8 8 2).  It takes
64 bits per pixel instead of 32, but I expect that the zlib compression
makes up
for that difference (I haven't tested that).

Glenn

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi

_______________________________________________
png-mng-misc mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/png-mng-misc
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.