NPM pacakge or JavaScript file for converting and downloading different types images. This package will only work on browser.
Demo: https://browser-image-converter.surge.sh/
Install package
npm install browser-image-converter
JS Script from JSDelivr
https://cdn.jsdelivr.net/npm/[email protected]/dist/index.min.js
Embeded or require script to your html or working file.
Image Types: PNG, JPEG, GIF
browserImageCoverter.downloadImageWithType(imageUrl, imageType)
yarn start
Feel free to report bugs and make feature requests in the Issue Tracker, fork and create pull requests!