Professional Documents
Culture Documents
#https://imagemagick.org/discourse-server/viewtopic.php?t=18193
#poor numbering
convert test.pdf test.jpg
#https://stackoverflow.com/questions/6605006/convert-pdf-to-image-with-high-
resolution
supersamples and then reduces size and quality preserves as 000
magick convert -quality 60 -density 300 -resize 50% temp.pdf foo-%03d.jpg
convert \
-verbose \
-density 150 \
-trim \
test.pdf \
-quality 100 \
-flatten \
-sharpen 0x1.0 \
24-18.jpg
magick convert -quality 100 -density 150 -flatten -sharpen 0x1.0 temp.pdf
foo-03%d.jpg
magick convert -quality 100 -density 150 -flatten -sharpen 0x1.0 -crop
50%x100% +repage temp.pdf foo-03%d.jpg
https://www.xpdfreader.com/download.html
pdfimages is part of xpdftools
mkdir out
for a in *.jpg; do
convert "$a" -crop 50%x100% ./out/"${a%.jpg}".jpg; done
https://www.imagemagick.org/discourse-server/viewtopic.php?t=33208
-crop 2x1@ +repage
***magick convert -density 150 -crop 2x1@ +repage temp.pdf foo-%03d.jpg
#border
#http://www.imagemagick.org/Usage/crop/#border
-border 10%x10%
deskew
Just click the “Automatic” button, apply to all, go to first page and
click the play button in the top left list next to deskew.
#https://stackoverflow.com/questions/7261855/recommendation-for-compressing-
jpg-files-with-imagemagick
#reduce