ericnograles / browser-image-resizer

A tiny browser-based library to downscale and/or resize images using canvas
MIT License
98 stars 42 forks source link

Add ability to specify mime type #5

Closed DanLeininger closed 6 years ago

DanLeininger commented 6 years ago

Allows the ability to choose another mime type for the output (like 'image/png' to keep transparency).

jperasmus commented 6 years ago

Hi, when will this be published to NPM?

ericnograles commented 6 years ago

@jperasmus Shoot, I had meant to push a new version when I merged this. I'll cut a new minor version and get it out there today.

jperasmus commented 6 years ago

Awesome, thanks so much 🙏

ericnograles commented 6 years ago

@jperasmus 1.2.0 is out on NPM with this PR merged in, FYI

jperasmus commented 6 years ago

Nice, thanks for publishing it so fast