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_rs-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_rs-0.1.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pixcompress_rs-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_rs-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ba1ba42da47dcd1bb04c5f2f26ebc33ee9bbd8c6d8008d98d65b61d2446ba0d2
MD5 fa13b2ebd127babf8016f6039a6020d9
BLAKE2b-256 8c15835849f415bacafc7a3235afca292a10c7b0c7ecd20bcb6538051e2a3350

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pixcompress_rs-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.23

File hashes

Hashes for pixcompress_rs-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 468c009fc9272524a8c0255e6fff134c6671a9b4ea0c64634004f87ee503ff99
MD5 ce2ba4ee0d585589a2fd807f659e1e38
BLAKE2b-256 36cb9d5c7e1b0dbbcb38c3102e0d3afdeda424d4fcad3afa8f4eac042f60f2bd

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