Hqx Image Scaling Algorithm in Javascript

The friendly and talented chap behind Impact JS, Dominic Szablewski, has implemented the lovely hqx scaling algorithm in javascript. It uses a temporary canvas to render the source image and scale it up without pixelation or blur by modifying each pixel of the graphic. The processed canvas can then be drawn on to other canvas instances using drawImage or even rendered to a URI for use in displaying the image using an img tag. The code is freely available on github. Cheers, Dominic!

Source: PhobosLab.com

One comment.

  1. It’s hard to find your articles in google. I found it on 14 spot, you should
    build quality backlinks , it will help you to get more visitors.

    I know how to help you, just search in google – k2 seo tips

Post a comment.