hff135 / JS-Image-Resizer

A quality two-pass resizing algorithm for images written in JavaScript. Pass your three or four channel (order agnostic) image framebuffer to the "resize" function of the Resize object created and your resized image will be returned. Initialize by calling "new Resize(int fromWidth, int fromHeight, int toWidth, int toHeight, bool alphaChannelPresent, bool interpolationPass, bool useWebWorker, function resizeCallback)" before using the resize function of it to initiate scaling. This is public domain, use at your own risk.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This repository is not active

About

A quality two-pass resizing algorithm for images written in JavaScript. Pass your three or four channel (order agnostic) image framebuffer to the "resize" function of the Resize object created and your resized image will be returned. Initialize by calling "new Resize(int fromWidth, int fromHeight, int toWidth, int toHeight, bool alphaChannelPresent, bool interpolationPass, bool useWebWorker, function resizeCallback)" before using the resize function of it to initiate scaling. This is public domain, use at your own risk.