Lib/std/c/src/: Add UNUSED, compile unused code
[sunny256-utils.git] / rdbl-picture
blob65dc089fc8675d8371d84119522983be93a93348
1 #!/usr/bin/env bash
3 #==============================================================================
4 # rdbl-picture
5 # File ID: 066787c0-ef0d-11e7-a30f-f74d993421b0
7 # Display EXIF info and an ASCII representation of a picture on stdout. Can for
8 # example be used as a diff filter in Git.
10 # Author: Øyvind A. Holm <sunny@sunbase.org>
11 # License: GNU General Public License version 2 or later.
12 #==============================================================================
14 progname=rdbl-picture
15 VERSION=0.1.0
17 tmpfile=/tmp/.$progname.$(date +%s).$$.xpm
18 exiftool "$1"
19 echo
20 convert "$1" "$tmpfile"
21 cat "$tmpfile"
22 rm -f "$tmpfile"