using -shave or -trim drastically reduces image quality
Posted: 2011-11-29T20:35:14-07:00
I have a pdf file which is a book scanned at 300 dpi black & white, 1 bit per pixel. I can never get the paper aligned just so in the scanner, so I get a bit of a border I'd like to trim off. So, I run:
convert in.pdf -shave 20x20 out.pdf
which certainly does shave 20 pixels off of each side of each page in the pdf. However, the resulting images are seriously degraded. After the shave the text is so degraded it is unreadable.
How can I do the convert and maintain the image quality?
convert in.pdf -shave 20x20 out.pdf
which certainly does shave 20 pixels off of each side of each page in the pdf. However, the resulting images are seriously degraded. After the shave the text is so degraded it is unreadable.
How can I do the convert and maintain the image quality?