Skip to main content

Simple image compression tool

Project description

pixcompress

Simple image compression tool that creates compressed copies while keeping originals intact.

Install

pip install pixcompress

Usage

Compress any image file:

pixcompress photo.jpg
# Creates: photo_compressed.jpg

pixcompress image.png --quality 70
# Creates: image_compressed.png with 70% quality

pixcompress large.jpg --max-width 1920 --max-height 1080
# Resizes and compresses to max 1920x1080

pixcompress photo.jpg --output compressed_photo.jpg
# custom output filename

Options

  • --quality, -q: Compression quality (0-100, default: 85)
  • --max-width: Maximum width in pixels (0 = no limit)
  • --max-height: Maximum height in pixels (0 = no limit)
  • --output, -o: Custom output filename

License

MIT

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

pixcompress_ruskaruma-0.1.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pixcompress_ruskaruma-0.1.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file pixcompress_ruskaruma-0.1.0.tar.gz.

File metadata

  • Download URL: pixcompress_ruskaruma-0.1.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.23

File hashes

Hashes for pixcompress_ruskaruma-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e038b52ad31bb20c784e9984f66769a766498b9ef9879d99202faa4835626ff7
MD5 3a778684ec7af3665851985629766ed8
BLAKE2b-256 123f037e7a47c2362a79cc8e33c04dd44c66d4849969b1d106a027e10565145e

See more details on using hashes here.

File details

Details for the file pixcompress_ruskaruma-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pixcompress_ruskaruma-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c77cbc191f05146f155a238ea4357dbffd8604052678fe07e5823f2994fc92cc
MD5 f60591656db7cce9535c9d8e4e8baef8
BLAKE2b-256 2e094d5841510671fef7b0edf9c59f3528d4ec56c7fcf601a62684c7abb5a76c

See more details on using hashes here.

Supported by

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