@creately/image-to-png
TypeScript icon, indicating that this package has built-in type declarations

2.0.5 • Public • Published

@creately/image-to-png

This will convert Interlace PNG, SVG, GIF, ICON, BMP format to PNG image.

Support: All browsers and node.js

Install

$ npm install @creately/image-to-png

Usage

import { ImageToPng } from '@creately/image-to-png';

const convertedImage = new ImageToPng().toPNG('Image Base64 string');

console.log(convertedImage);
//=> 'data:image/png;base64,....'

API

.toPNG(base64 image string)

This return a Promise string.

Readme

Keywords

none

Package Sidebar

Install

npm i @creately/image-to-png

Weekly Downloads

6

Version

2.0.5

License

MIT

Unpacked Size

21.1 kB

Total Files

6

Last publish

Collaborators

  • mehdhi
  • thisunravisara
  • chandika
  • shashik_thiwanka
  • sasindu
  • sajeeva
  • linatrefai
  • damithcgx