https://github.com/nodeca/pica

This project is for browsers, but it's developped with node and will be 
useful for people who like to build assets with browserify.

As you know, canvas is optimized for speed, and use nearest-neibor 
interpolation, when you try to downscale image. Sometime that's not 
acceptable, and we have written `pica`, that implements lanczos3 filter at 
very high speed. Of cause, it's not as fast as simd-optimized native code, 
but performance is very well. That can help when you need to reduce image 
size before upload and so on.

Here is demo http://nodeca.github.io/pica/demo/ to try different images & 
quality level. It also works at mobile devices.

It should work with all browsers, that have canvas. Also, if webworker 
available, it will be used to avoid interface freeze, without additional 
efforts from your side.

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/3b1f5328-3182-43f9-b257-a53f4c580645%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to