Skip to main content

👨‍🎨🎨 impressify

Project description

Impressify 🎨👨‍🎨

Impressify is a Python-based CLI tool for image resizing and optimization. It simplifies the process of batch resizing and compressing images, making them suitable for web use, thumbnails, or any application requiring efficient image handling.


Features ✨

  • Batch Resizing: Process entire directories of images at once.
  • Format Support: Compatible with .png, .jpg, and .jpeg formats.
  • Quality Control: Specify output quality (1-100).
  • Optimized Output: Use advanced optimization for smaller file sizes without compromising quality.
  • Customizable Output: Define custom output paths and control overwriting behavior.
  • CLI Friendly: Simple and intuitive command-line interface.

Installation 📦

To install Impressify, ensure you have Python 3.9+ and Poetry installed, then run:

pip install impressify

Usage 🚀

CLI Commands

Run the tool from the command line with the following syntax:

impressify <path> <size> [--output <output_path>] [--quality <quality>] [--optimize] [--overwrite]

Arguments

  • : Path to an image or directory containing images.
  • : Target size (max dimension in pixels) for resizing.

Optional Flags

  • --output: Custom output directory for resized images.
  • --quality: Image quality (default: 80, range: 1-100).
  • --optimize: Optimize images for reduced size (default: enabled).
  • --overwrite: Overwrite existing files (default: disabled).

Examples

Resize a Single Image

impressify /path/to/image.jpg 300 --quality 90 --optimize

Batch Resize Images in a Directory

impressify /path/to/images/ 500 --output /path/to/output/ --overwrite

Resize with Default Settings

impressify /path/to/image.png 200

Requirements 📋

  • Python >= 3.9
  • Pillow >= 11.0.0

License 📜

Impressify is released under the MIT License. See the LICENSE file for details.

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

impressify-0.8.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

impressify-0.8-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file impressify-0.8.tar.gz.

File metadata

  • Download URL: impressify-0.8.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.11

File hashes

Hashes for impressify-0.8.tar.gz
Algorithm Hash digest
SHA256 185be939eeb7de46d6586c82822758fdbe761c6ab2b99fa070dc83349f4e2125
MD5 22dee8804f8a20c39a092af2f7c20b6a
BLAKE2b-256 9453b6e2e3381dc75685354e1e4477aba751e47de150442c8a5ad9344523ffff

See more details on using hashes here.

File details

Details for the file impressify-0.8-py3-none-any.whl.

File metadata

  • Download URL: impressify-0.8-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.11

File hashes

Hashes for impressify-0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 2d53c03683de95f92e3d7431b7c524689d9e2d5a9f89c5d75d4d2b0c09a5cc72
MD5 076e5007db74334ad60c278c6312e623
BLAKE2b-256 a4179c6bcd951a1b8784b9e33ec08e389b2ea28561d851abe14d6f45d23380b6

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