Skip to content

Instantly share code, notes, and snippets.

@Bidski
Bidski / pngmeta.py
Created March 6, 2019 00:22 — forked from dankrause/pngmeta.py
A command-line tool that manipulates png meta-data in a very Unix-like way. Requires the Python Imaging Library (PIL).
#!/usr/bin/env python
import json, optparse, sys
try:
import PIL.Image, PIL.PngImagePlugin
except:
print >> sys.stderr, "Unable to import Python Imaging Library. Please ensure that it is installed."
sys.exit(1)