Convert tif to png. Saves a ton of disc space and is lossless.
This commit is contained in:
parent
154d526fa6
commit
35ca704245
|
@ -17,7 +17,7 @@ for f in $CALIBRATION_FILES
|
||||||
do
|
do
|
||||||
name=$(basename "$f" .tif)
|
name=$(basename "$f" .tif)
|
||||||
#echo $name
|
#echo $name
|
||||||
echo "Converting $f -> ../filmless_calibration/${name}.png..."
|
echo "Converting $f -> ../filmless_calibration/${name}.png @ ${DPI}dpi..."
|
||||||
convert $f -units PixelsPerInch -density $DPI "../filmless_calibration/${name}.png"
|
convert $f -units PixelsPerInch -density $DPI "../filmless_calibration/${name}.png"
|
||||||
rm $f
|
rm $f
|
||||||
done
|
done
|
||||||
|
|
|
@ -14,6 +14,7 @@ echo "Changing exported page files to ${DPI}dpi..."
|
||||||
|
|
||||||
for f in $PAGE_FILES
|
for f in $PAGE_FILES
|
||||||
do
|
do
|
||||||
echo "Converting ${f} to ${DPI}dpi..."
|
name=$(basename "$f" .tif)
|
||||||
mogrify $f -units PixelsPerInch -density $DPI
|
echo "Converting ${f} to ~/Desktop/${name}.png @ ${DPI}dpi..."
|
||||||
|
convert $f -units PixelsPerInch -density $DPI "~/Desktop/${name}.png"
|
||||||
done
|
done
|
Loading…
Reference in New Issue