gitmyhub

scale.js

JavaScript ★ 49 updated 6y ago

High-quality scale function for canvas and image element. If scale factor < 1, then algorithm for downscale (area average) is used, other than that, bicubic algorithm is used.

No plain-English explanation yet — one is being written right now. Check back in a minute.