Awesome
<div align="center"> <img src="./docs/logo.png" width="600"/> </div> <br />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
Compressor | Paper | Introduction | Core Code | In Chinese |
---|---|---|---|---|
pil | N/A | click | click | PIL自带压缩算法 |
raisr | click | click | click | 谷歌RAISR算法 |
dct | N/A | click | click | 基于离散余弦变换的图像压缩 |
svd | N/A | click | click | 基于奇异值分解的图像压缩 |
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
Projects in Charles_pikachu
- Games: Create interesting games by pure python.
- DecryptLogin: APIs for loginning some websites by using requests.
- Musicdl: A lightweight music downloader written by pure python.
- Videodl: A lightweight video downloader written by pure python.
- Pytools: Some useful tools written by pure python.
- PikachuWeChat: Play WeChat with itchat-uos.
- Pydrawing: Beautify your image or video.
- ImageCompressor: Image compressors written by pure python.
- FreeProxy: Collecting free proxies from internet.
- Paperdl: Search and download paper from specific websites.
- Sciogovterminal: Browse "The State Council Information Office of the People's Republic of China" in the terminal.
- CodeFree: Make no code a reality.
- DeepLearningToys: Some deep learning toys implemented in pytorch.
- DataAnalysis: Some data analysis projects in charles_pikachu.
- Imagedl: Search and download images from specific websites.
- Pytoydl: A toy deep learning framework built upon numpy.
- NovelDL: Search and download novels from some specific websites.
More
WeChat Official Accounts
Charles_pikachu