ict

img-compress-tool

a plugin for iamge compress

Showing:

Popularity

Downloads/wk

1

Maintenance

No Maintenance Data Available

Package

Dependencies

0

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

img-compress

A simple JS image compression tool

一个简单的图片js图片压缩工具

Install

 npm install img-compress-tool

Usage

import ImgCompress from 'img-compress-tool'
 
new ImgCompress(file, quality, size, width).initCompress(function (data) {
  let file = data.file // 压缩后的图片文件
  let baseUrl = data.baseUrl // 压缩后图片base64 url
})
 
 

API

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial