Skip to content
forked from veluca93/fpnge

Demo of a fast PNG encoder.

License

Notifications You must be signed in to change notification settings

animetosho/fpnge

 
 

Repository files navigation

Fast PNG Encoder

This is a proof-of-concept fast PNG encoder that uses AVX2 and a special Huffman table to encode images faster. Speed on a single core is anywhere from 180 to 800 MP/s on a Threadripper 3970x, depending on compile time settings and content.

It supports 8 and 16 bit content, 1 to 4 channels; it can also emit cICP chunks for signaling that the content should be interpreted as HDR.

Languages

  • C++ 92.7%
  • C 3.8%
  • Shell 3.5%