I am currently working on an application that requires high-performance conversion of an unpadded byte array to either a PNG or JPEG. The image format doesn't matter, just as long as it's fast.
I have tried the .NET libraries and the performance is very bad. Can anyone recommend a good freeware library for this?
EDIT: the byte[] is an 8bit grayscale bitmap
I like Imagemagick. http://www.imagemagick.org/script/api.php
There are two problems with this question:
Assuming you have a gray scale bitmap, you have two factors to consider:
Answer those questions, and then you might be able to find your original answer.
Source: Stackoverflow.com