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

Future Improvements

I have big plans for pixcompress! Here are some features I'm working on:

  • Batch processing: Compress multiple images at once
  • Format conversion: Convert between JPEG, PNG, WebP automatically
  • Smart compression: AI-powered quality optimization
  • GUI interface: User-friendly desktop application
  • Cloud integration: Direct upload to cloud storage services

Contributing

pixcompress is an open-source project and we welcome contributions! Whether you're fixing bugs, adding features, or improving documentation, your help makes this project better for everyone.

How to Contribute

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Ideas for Contributors

  • Add support for more image formats
  • Improve compression algorithms
  • Add command-line options
  • Write tests
  • Improve documentation
  • Create examples and tutorials

I'm excited to see what the community builds with pixcompress!

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-0.1.2.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

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

pixcompress-0.1.2-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file pixcompress-0.1.2.tar.gz.

File metadata

  • Download URL: pixcompress-0.1.2.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for pixcompress-0.1.2.tar.gz
Algorithm Hash digest
SHA256 8009d1d9d82611ed57c863c6d40bc6a9c42d180de2ded5e7789901ea7244597c
MD5 d8b61ba03c4d1f7f857e2a0d0ba468ec
BLAKE2b-256 10c86fc2e9361445480f7778e2c11ba25cd321de186202ca0118f85d93f068a4

See more details on using hashes here.

File details

Details for the file pixcompress-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: pixcompress-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for pixcompress-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 132fb6566976c601d4d8efcd09bab171babccf91ee5e0c0d13ac2b5a67e9669d
MD5 576c86c055f6a213d8b470dfd823308f
BLAKE2b-256 0be52056617929ddc0d746078c482d883ea3d96ad09329724be02027e8e5c3f9

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