Quote:
Originally Posted by tetraxi33
I mean I couldn't make the software detect both the image and the text next to it as seperate blocks. So the text next to the image is always in small font size. I beg your help. Thanks beforehand.
|
Okay--I made a PDF of your screen shot (at 96 dpi) and was able to get k2pdfopt to parse it the way you want with this command:
Code:
k2pdfopt -sm -crgh .01 -gtr .02 -f2p -1 sample.pdf
The -sm option just creates a PDF showing how k2pdfopt parsed the page--this is a useful debugging tool.
The -crgh option default is .013 (1/72) inch. I lowered it. This makes it easier to detect a 2-column sub-section of the document. See
this page for how it is used.
The -gtr option makes it easier for k2pdfopt to detect the row breaks since your text lines are kind of crowded together. The default value is .006. The higher value means there can be more "black" in the gaps between rows--they don't have to have pristinely all-white gaps between them.
Finally, -ftp -1 shrinks the figures onto a single page if they are extra tall.