New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

batch-image-converter

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

batch-image-converter

Convert images in batch in the browser.

  • 1.3.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8
decreased by-57.89%
Maintainers
1
Weekly downloads
 
Created
Source

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"});

Keywords

FAQs

Package last updated on 09 Jan 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc