m

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

2 comments.

  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

  2. I read a lot of interesting posts here. Probably you spend a lot of time writing,
    i know how to save you a lot of work, there is an online tool that creates unique, google friendly articles in minutes, just type in google – laranitas free content source

Post a comment.