-
rename images
python rename_tools.py
-
code gen
python read_imgs_code_gen_tex.py
-
build
latexmk -xelatex root.tex latexmk -c
-
reduce PDF size
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/printer -dNOPAUSE -dQUIET -dBATCH -sOutputFile=small.pdf root.pdf
https://tex.stackexchange.com/questions/14429/pdftex-reduce-pdf-size-reduce-image-quality
-
线装书:折页、打孔和缝线 https://www.bilibili.com/video/BV1pu411Q7mM
-
convert
heic
tojpg
magick mogrify -monitor -define preserve-timestamp=true -format jpg *.heic magick mogrify -monitor -define preserve-timestamp=true -format jpg *.HEIC
https://unix.stackexchange.com/a/758639/602051
NOTE: always use JPEG format! (iPhone 12 mini, Fujifilm X100V)
-
merge images by OmniGraffle