thumbnailer: strip EXIF data from images
This commit is contained in:
parent
0c61181734
commit
894b72e5f2
1 changed files with 2 additions and 0 deletions
|
@ -22,6 +22,8 @@ resize() {
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
if [ ! -f ${output} ]; then
|
if [ ! -f ${output} ]; then
|
||||||
|
echo "Stripping metadata from $1"
|
||||||
|
convert $1 -strip $1
|
||||||
echo "Generating thumbnail for $1"
|
echo "Generating thumbnail for $1"
|
||||||
convert $1 -strip -auto-orient -resize ${SIZE} -dither FloydSteinberg -colors 16 ${output}
|
convert $1 -strip -auto-orient -resize ${SIZE} -dither FloydSteinberg -colors 16 ${output}
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue