This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# pixel-color-count.py - Gets a sum of pixels per unique color | |
# maintainer - Ashley Grenon @townsean | |
import argparse | |
try: | |
from PIL import Image | |
except ImportError: | |
exit("This script requires the PIL module. Install with pip install Pillow") | |
try: |