The idea is that you can specify one of the built-in palettes to use with the -p flag, or you can load a custom palette with the -c flag. The palette files should be in a valid JSON subset consisting of ONE top-level array containing an arbitrary number of arrays that all have EXACTLY three elements, all integers from 0-255. These are representative of RGB values. You can set the pixel width/height of the monochrome blocks to be generated with the -b option. Default is to create 8x8 blocks.
Aside from some basic, tangential image manipulation features like auto-cropping and resizing, the main extra feature is the ability to generate custom color palette files with an input image. Run phixelgator with the -g flag to convert the input image into a color palette file that can then be used with the -c flag. It's not recommended that you use palette files created with very complex images, as extremely large color palettes are the biggest bottleneck in performance. If you just want all the original colors of the image available with a more pixelized look, you can just run it without the -p or -c flag.
sudo easy_install PIL sudo easy_install argparse
On Windows, you can just get the installers from the site or whatever the hell people do on Windows.
Once that stuff is done, checkout the repo, and make sure it's executable:
git clone https://github.com/nathanharper/phixelgator.git cd phixelgator chmod +x phixelgator.py ./phixelgator.py -h
That's it! The last line in there should print the help info, which should be very up-to-date. You can also check out the bash scripts in the "tests" directory if you want to see some examples.
This tool is *heavily* inspired by this site: http://superpixeltime.com/ One might even say that I just ported it to Python! So, many thanks to the creators.