Skip to content

Pixel Art Tools, single file CLI tool for working with pixelart images and/or spritesheets

License

Notifications You must be signed in to change notification settings

tadeaspaule/pat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

pat

Pat has a single dependancy : typer. Do pip install typer (or pip install typer[all] for nicely formatted errors)

Here are the currently supported commands. All commands can either be called on a single file, or a directory, in which case they will be applied to all files inside.

Do pat COMMAND --help for specifics regarding parameters, options, etc

split

For splitting a spritesheet into individual files. You have options for specifying cell size or number of rows and columns, and more.

colalts

Makes alternates of image (or all images in given directory). Does this by shuffling RGB values, for ex. in one image it swaps the original's R channel and B channel, etc.

rm-prefix

Sometimes spritesheets come in separate files but you want to get rid of prefixes like atk_1_ etc. Just do pat rm-prefix PREFIX DIRPATH

rm-suffix

Same as above but for suffixes

rm-bg

For removing a single-color background.

rm-shadow

For removing shadows. Here shadow means a pixel that only borders transparent or shadow pixels (not diagonally).

About

Pixel Art Tools, single file CLI tool for working with pixelart images and/or spritesheets

Topics

Resources

License

Stars

Watchers

Forks

Languages