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-1.3.0.tar.gz (7.3 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-1.3.0-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: quinn_image_processing-1.3.0.tar.gz
  • Upload date:
  • Size: 7.3 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-1.3.0.tar.gz
Algorithm Hash digest
SHA256 d006f5e348742dad29a4623ac30b631d1a3cc9594f14a076f59de7297ce589e5
MD5 35a27ad95d3fb0fc9911d271b1e61ac2
BLAKE2b-256 4257a3fbf61e1e0d4fc92cb5fea22d2a9631a2afd60944c38b62415244c3b43b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quinn_image_processing-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0635426752b49e28cefc678af5431a0ec556fe912e09d385ecc2eb97f47db9dc
MD5 f44744468520355cbd134d2aa6cbbe09
BLAKE2b-256 5330018139742d03e7e451561ca2a2b3d24c225a968ad1a2275d2132313bad29

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