🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

cordova-plugin-pngquant

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

cordova-plugin-pngquant

pngquant for cordova android.

unpublished
latest
Source
npmnpm
Version
1.0.8
Version published
Maintainers
1
Created
Source

cordova-plugin-pngquant

npm

A cordova android plugin adapted from pngquant.

pngquant is a PNG compressor that significantly reduces file sizes by converting images to a more efficient 8-bit PNG format with alpha channel (often 60-80% smaller than 24/32-bit PNG files). Compressed images are fully standards-compliant and are supported by all web browsers and operating systems. https://pngquant.org

Dependence

@kornelski/pngquant: https://github.com/kornelski/pngquant
@ndahlquist/pngquant-android: https://github.com/ndahlquist/pngquant-android

Install

cordova plugin install cordova-plugin-pngquant;

Usage

// typings.d.ts

declare var pngquant: any;

// demo.page.ts

pngquant.compress(imgBase64, (res: any) => {
  console.log(res.data);
}, (err: any) => {
  console.error(err);
});

Keywords

cordova-plugin-pngquant

FAQs

Package last updated on 08 Sep 2019

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