A command line utility to build pixelated images.
Project description
Pixel Artist: Turn images into beautiful pixelated images
Pixel Artist is a command line tool that allows the creation of pixelated images with customizable levels of granularity (size of the visible pixels). Turning images into beautiful works of art that bring back nostalgic feelings from the early days of computer graphics is now easy as calling a single command.
Requirements
Features
- Block granularity
- Color palettes
- Color spaces (RGB and L*a*b)
- Number of colors
Usage
usage: pixel_artist.py [-h] -f FILENAME [-p {3,8,9,24}] [-n NCOLORS]
[-g GRANULARITY] [-l] [-v] [-s]
optional arguments:
-h, --help show this help message and exit
-f FILENAME, --filename FILENAME
input filename
-p {3,8,9,24}, --nbits {3,8,9,24}
number of bits of the palette, default=24
-n NCOLORS, --ncolors NCOLORS
number of colors to use: 1-256, default=256
-g GRANULARITY, --granularity GRANULARITY
granularity to be used (>0): a bigger value means
bigger blocks, default=1
-l, --labdiff use *lab model, default=rgb
-v, --verbose show progress
-s, --save save the output image
Examples
Implementation details
The pixel-artist command line tool works by dividing the image in equal sized blocks and assigning them the average color of the block. Optionally, the size of the blocks can be configured as well the available colors.
Contributing
Github issues are open for feature requests and bug reports. Feel free to submit a pull request with your enhancement proposal.
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
Built Distribution
Hashes for pixel_artist-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccfe9aec196346d320ba46627ed1a3fbda51495c750cb48a837677f0cff015f9 |
|
MD5 | 7658566f8c7b0a631f43c5b21c7c7a12 |
|
BLAKE2b-256 | 1e7d9446d068289c0a902610d394d988df8e3d6c4d492ce45dbdb2c2113a8b88 |