Skip to main content

An open-source image processing tool based on the Pillow

Project description

PixelPotion

PixelPotion is a command line tool based on Pillow for easy processing of PNG, JPG, and GIF images. It provides a simple and intuitive interface for performing common image operations such as resizing, cropping, and retrieving GIF frames.

Features

  • Supports PNG, JPG, and GIF image formats

  • Resize images to a specified width and height

  • Crop images to a specified size and position

  • Retrieve individual frames from animated GIFs

  • Save processed images to disk

Installation

PixelPotion can be installed via pip:

pip install pixelpotion

Usage

PixelPotion can be used via the command line interface. Here are some examples:

Original image: original

Resize to 100x100:

# Resize an image to 400x400 pixels
pp resize input.png output.png --width 100 --height 100
100x100

100x100

Crop to 200x100 JPEG:

# Crop an image to 200x100 pixels
pp convert -f input.png -o outpu.jpg -t jpg --width 200 --height 100
200x100

200x100

Extract first frame of animated GIF:

# Extract the first frame of an animated GIF
pp gif split -f input.gif -o tmp -p frame

For a full list of available commands and options, please refer to the Command Line Interface Documentation in the project wiki(TODO).

API

PixelPotion is built on top of the popular Pillow library and extends its functionality. For more information on the API, please refer to the API Documentation in the project wiki(TODO).

Contributing

Contributions to PixelPotion are always welcome! If you鈥檇 like to contribute, please read the Contributing Guide and submit a pull request(TODO).

License

PixelPotion is licensed under the MIT License.

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

pixelpotion-0.1.2.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

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

pixelpotion-0.1.2-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file pixelpotion-0.1.2.tar.gz.

File metadata

  • Download URL: pixelpotion-0.1.2.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.6

File hashes

Hashes for pixelpotion-0.1.2.tar.gz
Algorithm Hash digest
SHA256 c5926946c72a7e18b12d83ca3fe30dd7350755be765fe3f016c9b144c0271ef5
MD5 d9479496bb441ebac3e9f99f14547e1b
BLAKE2b-256 b202454dce7fad1e683c47db9ef96acf006595bac17d091a81d677eb2edbfaf4

See more details on using hashes here.

File details

Details for the file pixelpotion-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: pixelpotion-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.6

File hashes

Hashes for pixelpotion-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ed79f0464e3df7a5fffd9c81e83fe057f2fc571712a534d2acfd217cef56231e
MD5 ae839038e7ee051758248efb9ae63087
BLAKE2b-256 b2d9bb6301fe81a3620381b898d21841ad0f93fa193958120c91f30b2a7f9c58

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