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.3.tar.gz (4.8 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.3-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pixcompress-0.1.3.tar.gz
  • Upload date:
  • Size: 4.8 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.3.tar.gz
Algorithm Hash digest
SHA256 c3dba9bb5783eb258c29f0afc3174b897b35667ab68e34e1b552fd5dc8c0a0f2
MD5 b5792beabd49303500d56e9c3b08d8f0
BLAKE2b-256 964b0ba7343a2c5616d0ebd83feb7d950434558af642c675e4183f1aef27414a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pixcompress-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5ea956ea2c2a704f335806029d23d40f5cc7eb8c8a21e462720842b8f8b87148
MD5 192d95eca079aba510d0e892aef1c889
BLAKE2b-256 f8fda32452d1fcb3212444a864d2172c07d2a56f7674af313670aabbadbd6a52

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