diff options
Diffstat (limited to 'pngmeta')
-rwxr-xr-x | pngmeta | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/pngmeta b/pngmeta deleted file mode 100755 index e6d9b6b..0000000 --- a/pngmeta +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env python - -import os, sys, argparse -from PIL import Image, PngImagePlugin - -parser = argparse.ArgumentParser(description='Print PNG metadata') -parser.add_argument('image', type=str) -args = parser.parse_args() -img = Image.open(args.image) -for k, v in img.info.items(): - print('{:15}: {}'.format(k, v)) |