Friday, July 28, 2006

Java image manipulation

Achieving anti-aliased images through the standard Java libraries was very non-obvious. No matter what rendering hints or interpolation I used in either the java.awt.image or packages, many edges came out jagged. Finally I found a solution, so I'll send some search engine juice their way, because I generate so much of it.

Update: If you're processing non-sRGB images, expect lousy performance on non-windows platforms (due to lack of hardware acceleration support).

No comments: