From 894b72e5f24d7a554724ecc89be84ae971f7aa28 Mon Sep 17 00:00:00 2001 From: Derek Stevens Date: Tue, 15 Jun 2021 13:10:49 -0600 Subject: [PATCH] thumbnailer: strip EXIF data from images --- thumbnailer.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/thumbnailer.sh b/thumbnailer.sh index 38334b0..981fc53 100755 --- a/thumbnailer.sh +++ b/thumbnailer.sh @@ -22,6 +22,8 @@ resize() { return fi if [ ! -f ${output} ]; then + echo "Stripping metadata from $1" + convert $1 -strip $1 echo "Generating thumbnail for $1" convert $1 -strip -auto-orient -resize ${SIZE} -dither FloydSteinberg -colors 16 ${output} fi