https://github.com/floriancassayre/pxlartgenerator
Pixel art generator for pixel space.
https://github.com/floriancassayre/pxlartgenerator
java pixel-art pxls reddit-place
Last synced: about 1 month ago
JSON representation
Pixel art generator for pixel space.
- Host: GitHub
- URL: https://github.com/floriancassayre/pxlartgenerator
- Owner: FlorianCassayre
- Created: 2017-04-13T11:13:53.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-13T12:02:50.000Z (about 8 years ago)
- Last Synced: 2025-04-04T21:15:08.406Z (about 1 month ago)
- Topics: java, pixel-art, pxls, reddit-place
- Language: Java
- Homepage: http://pxls.space
- Size: 15.6 KB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PxlArtGenerator #
A light tool to convert images to pixel arts using the 16-colors palette available on [pxls.space](http://pxls.space).

## Requirements ##
Java **1.7+** is required to run the program.
## Download ##
A compiled version can be downloaded in the [releases](https://github.com/FlorianCassayre/PxlArtGenerator/releases) section.
## Usage ##
Usage: java -jar PxlArtGenerator.jar [options]
Options:
--help
Displays this menu
-height, -h
The output image height
-output-size
The size of the pixels on the output image
Default: 1
-palette, -p
The palette to be used to draw the output image; it must be in
hexadecimal
Default: 0123456789abcdef
-width, -w
The output image width### Examples ###
Default options; the output size will be the same as the input, using all the available colors:
> `java -jar PxlArtGenerator.jar source.png output.png`
The output pixels will be 10 times larger (useful to avoid anti-aliasing when sharing the image):
> `java -jar PxlArtGenerator.jar source.png output.png -output-size 10`
The palette will only use white, light gray, gray and black:
> `java -jar PxlArtGenerator.jar source.png output.png -palette 0123`
The output image will be 20 pixels long (horizontally), and the height will be calculated according to the original aspect ratio:
> `java -jar PxlArtGenerator.jar source.png output.png -width 20`
The output image will be 50 x 50 pixels (warning, the aspect ratio can change!):
> `java -jar PxlArtGenerator.jar source.png output.png -width 50 -height 50`