Resizing PDF's
Posted: 2016-03-18T05:45:29-07:00
hi,
Background: we originally started scanning documents using a MFP at 600 DPI to ensure the validity of the document of kept 100% or close to.
Issue: I have a task to start reducing these PDFs close 5 MB whilst keeping the resolution/image/clarity/information.
I've asked a fellow colleague to help and we've come with this script, as there are many folders:
Problem is i can't get the size low enough with distorting the image - is there a better way?
Many thanks.
Background: we originally started scanning documents using a MFP at 600 DPI to ensure the validity of the document of kept 100% or close to.
Issue: I have a task to start reducing these PDFs close 5 MB whilst keeping the resolution/image/clarity/information.
I've asked a fellow colleague to help and we've come with this script, as there are many folders:
Code: Select all
for file in *.pdf; do
convert -density 400 "$file" "`echo $file | sed 's/\.pdf$/\.jpg/'`"
done
Many thanks.