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.
More
WeChat Official Accounts
Charles_pikachu
Metadata
Release files for pyimagecompressor 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyimagecompressor-0.1.1.tar.gz | 12.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyimagecompressor-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.4 kB
Release files / pyimagecompressor-0.1.1.tar.gz
| Download URL | pyimagecompressor-0.1.1.tar.gz |
|---|---|
| Size | 12.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a3f307c90cd844c15c09a439ad3e92af61e55b578b63a0ad9ea15bd9ee743634
|
|
BLAKE2b-256 checksum How to use checksums |
a3fd755425010235423ae61aa51436d707ef5d25fd364c2feea29262f5344b7e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.2.0 pkginfo/1.7.0 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.8
|
Release files / pyimagecompressor-0.1.1-py3-none-any.whl
| Download URL | pyimagecompressor-0.1.1-py3-none-any.whl |
|---|---|
| Size | 15.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4677f2ae455c23fa2f83d8746cc57812a2fb8c89ef4538942027fb2ccb845bf9
|
|
BLAKE2b-256 checksum How to use checksums |
66daaa254e9538d517613a78ae421da153963e0da018d6ae57cc814fe6c3cab2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.2.0 pkginfo/1.7.0 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.8
|