For invoice reimbursements, use imagemagick
CLI tools to help us make invoice PDF compliance easy!
# Use whatever package manager you need, likely:
sudo apt install imagemagick
Most phones are way to big Mpeg wise... we want to send pics low quality but legible:
# Irreversably overwite in place (suggested)
for i in *.jpg; do convert $i -quality 20% $i; done;
# OR make new files in place(meh)
for i in *.jpg; do convert $i -quality 20% smol-$i; done;
Assuming:
- You have a folder that includes only the photos you want in a single PDF
- Photos are in an order that numerically makes sense (if you need it in accounting to match). Most pics now have a timestamp as a file name that makes this linear in time of capture by default.
convert *.jpg SOMETHING-receipt-photos.pdf