From: Garry S. <see...@bi...> - 2015-03-30 01:59:35
|
Yes I do not see the need to OCR and produce a true PDF document when I am just attaching an image to a citation. I see that I am adding an image as part of recording the details of a source/citation as further prove that the source exists and I don't see that I would need an editable document in that case. But, the discussion on OCR and producing true PDF documents has been interesting and has helped me understand more about PDF. I have been using ImageMagick to extract images from PDF files and also to concatenate those images into a single JPG file. Here are my notes: Use ImageMagick to save PDF pages as separate images Open the PDF file from ImageMagick Save as format JPG ie 1.jpg and set quality to 100 when asked File - Next to view next page Save as format JPG ie 2.jpg and set quality to 100 when asked etc for rest of pages From the terminal concatenate images $ montage -mode concatenate 1.jpg 2.jpg ..... result.jpg use the option -tile <columns>x<rows> to control the layout to be applied. either side may be missing and montage will figure out how to meet the constraints. ie $ montage -mode concatenate -tile 1x .......... will concatenate the images in a single column ie $ montage -mode concatenate -tile x1 .......... will concatenate the images in a single row Cheers. On 29/03/15 23:34, Kenneth Browne wrote: > On 03/29/2015 04:20 AM, Garry Seeley wrote: >> I am tending to think the same as you Sebastian and I will go for jpg >> (maybe after scanning and editing photos in some other format first). >> But I do have some documents that are multi page that I would like to >> attach complete. My options in that case would be to attach several jpg >> files and name them something like ...page1/2.jpg, ...page2/2.jpg. > I've done this in the past when using TMG v.8. In fact if I remember > correctly TMG choked > on a multipage PDF or simply wouldn't display any PDF files. OCR would > have been useless > anyway since many of the pages were handwritten affidavits concerning > my ggg gfather's > U.S. Revolutionary War pension. Since my "original" document was a > downloaded PDF I had > to center each page on my laptop screen and make a screenshot that I > saved as JPG. > > Ken > |