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-3.0.0.tar.gz (10.5 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-3.0.0-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: quinn_image_processing-3.0.0.tar.gz
  • Upload date:
  • Size: 10.5 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-3.0.0.tar.gz
Algorithm Hash digest
SHA256 fa8de2c3b2340c5c1a2ba43eed6574fcfec0e85f838c4d1ff12464c9ab172ceb
MD5 03bbf0b4ded76ca2993c9958b67c4b38
BLAKE2b-256 70c80e9744051166c58a502b416e3b3581f535e814b77d4d2c1352b84bc2ccfc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quinn_image_processing-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f07fff5f800859c007ecbf5e512438d64f605c57de3c20b4c09855eaf20431e1
MD5 017f06506acfaa7415f8dcfc42a67989
BLAKE2b-256 f0758de28c2e539b1325ff41648c0b4630dce12afbe49398951d44aa1f08c1aa

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