pdftotext with cropping example

November 4th, 2019

pdftotext
-x //x coordinate start point left top corner
-y //y coordinate start point left top corner
-W //width in pixels
-H //height in pixels
-layout // this tries to keep the layout relative to the text
input.pdf
output.txt

pdftotext -x 120 -y 0 -W 1000 -H 1000 -layout input.pdf output.txt


Leave a Reply

Your email address will not be published. Required fields are marked *