thumbnailer: strip EXIF data from images

This commit is contained in:
Iris Lightshard 2021-06-15 13:10:49 -06:00
parent 0c61181734
commit 894b72e5f2
Signed by: Iris Lightshard
GPG key ID: 3B7FBC22144E6398

View file

@ -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