Home

Awesome

<div align="center"> <img src="./docs/logo.png" width="600"/> </div> <br />

docs PyPI - Python Version PyPI license PyPI - Downloads PyPI - Downloads issue resolution open issues

Documents: http://imagecompressor.readthedocs.io/

ImageCompressor

Image compressors written by pure python.
You can star this repository to keep track of the project if it's helpful for you, thank you for your support.

Support List

CompressorPaperIntroductionCore CodeIn Chinese
pilN/AclickclickPIL自带压缩算法
raisrclickclickclick谷歌RAISR算法
dctN/Aclickclick基于离散余弦变换的图像压缩
svdN/Aclickclick基于奇异值分解的图像压缩

Install

Pip install

run "pip install pyimagecompressor"

Source code install

(1) Offline
Step1: git clone https://github.com/CharlesPikachu/imagecompressor.git
Step2: cd imagecompressor -> run "python setup.py install"
(2) Online
run "pip install git+https://github.com/CharlesPikachu/imagecompressor.git@master"

Quick Start

from imagecompressor import imagecompressor

compressor = imagecompressor.ImageCompressor('dct')
image, eavl_result = compressor('input.jpg')

Screenshot

img

Projects in Charles_pikachu

More

WeChat Official Accounts

Charles_pikachu
img