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.0.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.0.0-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: quinn_image_processing-2.0.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.0.0.tar.gz
Algorithm Hash digest
SHA256 9322d51c4ad0b438df8048ee3e0815394b6e0f06217471df78773c827e5f55b7
MD5 84d14d9810bd4c46ecaf2b8ff1a5a760
BLAKE2b-256 f4c63f3abd248c53465e5329b831453a6b5a3a3575792fc1ab641280718fefaf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quinn_image_processing-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d41d86622a22921a8b0c9a3af792142b37756e4ef310220820e2f89959559137
MD5 7b2d1225aaaa7cdc88e2ae1b3c240705
BLAKE2b-256 9d78d2ccadad9dfbe26089dd09210a377f6920c441c333fe09bd28109efa9fad

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