Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View townsean's full-sized avatar

Ashley Grenon townsean

View GitHub Profile
@townsean
townsean / pixel-color-count.py
Created October 9, 2019 08:52
Gets a sum of pixels per unique color
# 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: