The text of this article is not in this database — only its details are. The old site it was published on is gone, but the Internet Archive kept a copy: Encoder Parameters and Image Formats in GDI+
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.

StevePosted May 26, 2010, 7:39 AM
I was wondering whether it might be pssible to write your own PNG encoder for the .NET Bitmap.Save method by wrapping OptiPNG in a managed wrapper? The OptiPNG command-line tool gives a significant improvement in image-size compared to the output from Bitmap.Save using the PNG format and can do this very fast with the default optimization setting. Is sufficient documentation available from MS (or your book) to enable one to write a custom encoder, ideally in C#? Failing that, has anyone created an alternative improved PNG encoder as a replacement that provides an optimized PNG image?