Skip to content

Difference between native codecs and WIC #149

Discussion options

You must be logged in to vote

It's complicated. I meant to document some of this better, but it's kind of a moving target. I'll go ahead and leave some notes here, but this is subject to change.

JPEG

libjpeg-turbo is faster and has very slightly improved accuracy over WIC's JPEG. The performance improvement is quite pronounced on progressive JPEG decode.

The native plugin also supports optimized huffman tables and progressive encoding, both of which improve compression over WIC's encoding (but at the cost of speed). The enhanced compression is available when using JpegOptimizedEncoderOptions from the plugin package.

PNG

WIC's PNG is, at this moment, faster than the libpng plugin, mostly due to its use of Intel's comme…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@andreas-eriksson
Comment options

Answer selected by andreas-eriksson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants