I am developing a user server with a thin client that serves the provided web pages to its clients. The server runs in a multi-core Linux box, with Webkit providing a html rendering engine.
The only problem is that the client display is limited to four (16 colors) gray palettes. I am currently using LibGraphicsMagick to smooth images (RGB-> 4bit grayscale), which is an obvious bottleneck in server performance. Profiling shows that over 70% of the time is spent on the smoothing features of GraphicsMagick.
I researched stackoverflow and Interwebs for a good high-performance solution, but no one seems to have done any tests in various image processing libraries and anti-aliasing solutions.
I would be happier to know:
- What are the libraries with the highest performance in terms of smoothing / grayscale / quantize RGB images to 4 shades of gray.
- Are there any special anti-aliasing libraries or any code fragments of the public domain that you could point me to?
- Which libraries do you prefer for managing graphics for high performance?
C libraries are preferred.
Luka Birsa
source
share