libspng icon indicating copy to clipboard operation
libspng copied to clipboard

Encoder conformance

Open randy408 opened this issue 4 years ago • 0 comments

From https://www.w3.org/TR/2003/REC-PNG-20031110/#15ConformanceEncoder:

  • [x] All PNG datastreams that are generated by the PNG encoder are conforming PNG datastreams.

  • [ ] When encoding input samples that have a sample depth that cannot be directly represented in PNG, the encoder scales the samples up to the next higher sample depth that is allowed by PNG. The data are scaled in such a way that the high-order bits match the original data.

  • [ ] Numbers greater than 127 are used when encoding experimental or private definitions of values for any of the method or type fields.

randy408 avatar Jun 25 '20 15:06 randy408