browser-image-converter

Convert image to different formats (PNG, JPEG, GIF)

Usage no npm install needed!

<script type="module">
  import browserImageConverter from 'https://cdn.skypack.dev/browser-image-converter';
</script>

README

Browser Image Converter

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/

Sample Usage

Install package

npm install browser-image-converter

JS Script from JSDelivr

https://cdn.jsdelivr.net/npm/browser-image-converter@0.1.1/dist/index.min.js

Embeded or require script to your html or working file.

Image Types: PNG, JPEG, GIF

browserImageCoverter.downloadImageWithType(imageUrl, imageType)

Development

yarn start

Contributions

Feel free to report bugs and make feature requests in the Issue Tracker, fork and create pull requests!