Print mutiple images on single page

Submitted by code_admin on Sun, 02/03/2019 - 11:29

How I combine photos into one file to print

  1. Download all images from gogle
  2. Seperate all portrit and landscape into different folder
  3. Run combine script
  1. #!/bin/bash
  2.  
  3. echo "Start of combine"
  4.  
  5. ##convert -quality 85 `find -type f -name '*.png' -or -name '*.jpg' | sort -V` output.pdf
  6.  
  7. POTRAITDIR=../ski_photos/portrate/
  8. LANDSCAPEDIR=../ski_photos/landscape/
  9. rm ./pot_output.pdf
  10. rm ./land_output.pdf
  11.  
  12. convert -auto-orient -quality 20 `find ${POTRAITDIR} -type f -name '*.png' -or -name '*.jpg' | sort -V` ./pot_output.pdf
  13. convert -auto-orient -quality 20 `find ${LANDSCAPEDIR} -type f -name '*.png' -or -name '*.jpg' | sort -V` ./land_output.pdf
  14.  
  15. echo "End of combine"
  1. Open both output files print them to a file and put mutiple pages per page. I use 9 for land and 16 for potrait

See also

Tags

RJM Article Type
Work Notes