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
|
||||
name=$(basename "$f" .tif)
|
||||
#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"
|
||||
rm $f
|
||||
done
|
||||
|
|
|
@ -14,6 +14,7 @@ echo "Changing exported page files to ${DPI}dpi..."
|
|||
|
||||
for f in $PAGE_FILES
|
||||
do
|
||||
echo "Converting ${f} to ${DPI}dpi..."
|
||||
mogrify $f -units PixelsPerInch -density $DPI
|
||||
name=$(basename "$f" .tif)
|
||||
echo "Converting ${f} to ~/Desktop/${name}.png @ ${DPI}dpi..."
|
||||
convert $f -units PixelsPerInch -density $DPI "~/Desktop/${name}.png"
|
||||
done
|
Loading…
Reference in New Issue