1.对图像进行压缩
https://www.smashingmagazine.com/2015/06/efficient-image-resizing-with-imagemagick/
2. Scan Tailor
https://github.com/scantailor/scantailor
3.把照片合成一本书
https://stackoverflow.com/questions/8955425/how-can-i-convert-a-series-of-images-to-a-pdf-from-the-command-line-on-linux