Skip to main content

A simple Python package for image processing.

Project description

My Image Processing Package

My Image Processing Package is a simple Python tool designed to perform basic image processing tasks, such as cropping and padding images. It allows you to resize and crop images to specific dimensions and fill transparent pixels with a white background, making your image dimensions uniform.

Features

  • Resize and Crop Images: Automatically resize images while maintaining aspect ratio and crop them to different positions (top-left, bottom-right, or center).
  • Padding Images: Add white padding around images to ensure they are square, preserving the aspect ratio of the original image.
  • Handles Transparent Pixels: Automatically replace any transparent pixels in PNG images with white.

Installation

You can install this package using pip:

pip install quinn_image_processing

Update the PATH variable as needed, based on the warning given by pip:
WARNING: The scripts overlay-images.exe and square-images.exe are installed in 'SCRIPTLOCATION' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

$env:PATH += ';SCRIPTLOCATION'

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

quinn_image_processing-2.1.0.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

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

quinn_image_processing-2.1.0-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

Details for the file quinn_image_processing-2.1.0.tar.gz.

File metadata

  • Download URL: quinn_image_processing-2.1.0.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for quinn_image_processing-2.1.0.tar.gz
Algorithm Hash digest
SHA256 d6c577e449d87ac602f3bdaa63629416c897b0869138d226a47be65f8a21c064
MD5 d13f0e35c5197f858d30f2cc9b5e296e
BLAKE2b-256 eee3279ef54370ff5b78812b343fc699126046b2b0d960c916cb98bbbba92eab

See more details on using hashes here.

File details

Details for the file quinn_image_processing-2.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for quinn_image_processing-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 65f779ba15fa810e366c2c3d7b6795b4fc60a769dfaa545f955562d0f4f2889c
MD5 0bb3a197873b66af940c25d7e16165de
BLAKE2b-256 85d42017165f1c3e276c9bc3d8ac067a18fc23e243f993fd695e569e70aa4d6e

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