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:

TODO

Usage

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

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

# Crop an image to 200x200 pixels
pp convert -f tmp/test.png -t png -w 200 -he 100 -q 300 -o tmp/out.png

# Extract the first frame of an animated GIF
pp gif split -f C:\Users\mjhxy\Desktop\input.gif -o tmp -p qq

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.1.tar.gz (5.3 kB view hashes)

Uploaded Source

Built Distribution

pixelpotion-0.1.1-py3-none-any.whl (6.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page