convert image1 image2 +append resultconvert orig.png -resize 640x640 orig.t.pngpdfjam --paper a4paper --scale 0.8 input.pdf -o output.pdfThese are tutorials I found very useful before jumping into an actual spec.
cryptsetup luksOpen /dev/sdXY cr_lvm; vgscan; vgchange -a ypdfnup --landscape -o out.pdf --nup 2x1 in.pdf (and
--paper a4paper is the result would be landscape content on
portrait pages)import pdb; pdb.set_trace() at the place where
you would put a breakpointlet _: () = foo;xxd -p foo.bin > foo.hex or
xxd -p -r foo.hex > foo.bindd if=in.bin of=out.bin bs=1 skip=N