Has anybody seen or written an implementation of the hq2x image filter in Java?
For those of you who don’t know what this is, hq2x is a very high quality scaling/magnification filter that’s commonly used in emulators to allow games to have their resolution increased without a sacrifice in quality. It’s like Scale 2x but 10x better and a lot more complicated to implement.
You can read more about it here. http://www.hiend3d.com/hq2x.html
They do provide source, but it’s convoluted to say the least.
http://www.hiend3d.com/img/mailbox_original.gif
http://www.hiend3d.com/img/mailbox_nn2x.gif
(Normal Scaling)