MaxSultan / img-compressor

3 stars 1 forks source link

img-compressor

Minify and resize images using lossy compression all on the front-end

Visual Preview:

This can be previewed here:

https://maxsultan.github.io/img-compressor/

How it Works:

Canvas elements can be used to draw images via javascript. By default it does this using bilinear interpolation.

Here are some basic definitions:

Implimented Features:

Dependencies

This is a demo project for an npm package I built called front-end-min:

the package can be viewed on NPM here: https://www.npmjs.com/package/front-end-min

it can be added via npm: npm install front-end-min

or unpkg link: <script src="https://unpkg.com/front-end-min@1.0.7/index.js"></script>