/usr/bin/grace-thumbnailer is in grace 1:5.1.25-1build2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | #!/bin/sh
size=128x96
if [ $1 = "-s" ]; then
shift
size=$1
shift
fi
infile="$1"
outfile="$2"
tmppng=$(mktemp /tmp/grace-thumbnail-XXXXXX)
gracebat -hdevice PNG -printfile $tmppng "$infile"
convert -resize $size -sharpen 4 $tmppng "$outfile"
rm -f $tmppng
|