1.3.2 • Published 4 months ago

batch-image-converter v1.3.2

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

Image-Converter

Convert images files in the browser with Dynamic Web TWAIN.

It can convert images in bmp, jpeg, png, tiff and pdf to images in jpeg, png, tiff and pdf. It runs purely in the browser.

You can select multiple images or load multiple images from a zip file. You can export the images one by one or in a zip file.

Online demo

Installation

  1. Via CDN:

    <script type="module">
      import { ImageConverter } from 'https://unpkg.com/batch-image-converter/dist/image-converter.js';
      window.onload = function(){
        let container = document.querySelector('#app');
        new ImageConverter({container:container});
      }
    </script>
    <link href="https://unpkg.com/batch-image-converter/dist/style.css" rel="stylesheet">
  2. Via NPM:

    npm install batch-image-converter

Usage

  1. Bind the built-in UI to a container.

    let container = document.querySelector('#app');
    new ImageConverter({container:container});
  2. Use the convert method to convert a file to the desired format.

    let files = await imageConverter.convert(file,ImageFormat.JPG);

Product License

You need to pass a license for Dynamic Web TWAIN. You can apply for one here.

new ImageConverter({license:"your license"});
1.3.2

4 months ago

1.3.1

4 months ago

1.3.0

9 months ago

1.2.0

10 months ago

1.1.0

10 months ago

1.0.0

10 months ago