I need to convert multipage PDF-document into separate JPG files with definition 300 DPI.
I used the following algorithm:
1. conversion of multipage PDF file into onepage documents by meas of Mac OS (Automator).
2. conversion of onepage PDF into jpeg using command mogrify -density 300 -quality 100 -format "jpeg" *.pdf
But it final jpeg files I have white margins on the top and sometimes at the right of image.
There is no such a problem if I use automator


