Skip to main content

ImageCompressor: Image compressors written by pure python.

Project description


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

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

img

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
img

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyimagecompressor-0.1.1.tar.gz (12.6 kB view details)

Uploaded Source

Built Distribution

pyimagecompressor-0.1.1-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

Details for the file pyimagecompressor-0.1.1.tar.gz.

File metadata

  • Download URL: pyimagecompressor-0.1.1.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for pyimagecompressor-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a3f307c90cd844c15c09a439ad3e92af61e55b578b63a0ad9ea15bd9ee743634
MD5 c35b4a17c93f1a1cc34b88cbc488f795
BLAKE2b-256 a3fd755425010235423ae61aa51436d707ef5d25fd364c2feea29262f5344b7e

See more details on using hashes here.

File details

Details for the file pyimagecompressor-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pyimagecompressor-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 15.7 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for pyimagecompressor-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4677f2ae455c23fa2f83d8746cc57812a2fb8c89ef4538942027fb2ccb845bf9
MD5 c7c84a36ae343ce2fef3e40add949a4f
BLAKE2b-256 66daaa254e9538d517613a78ae421da153963e0da018d6ae57cc814fe6c3cab2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page