topic title: jpg to pdf
Posts: 153
andfree
Joined: 16 Jan 2016
#1
I wish you a happy new year (free wishes like free beer).

I use imagemagick (the"convert" command) to convert scanned (jpg) documents to pdf. Do you think I could do it in another way for a better quality? Thanks.
Posts: 148
chrispop99
Joined: 21 Apr 2011
#2
In the repositories is a program called 'ScanTailor'. Perhaps it might do what you want?

Note I have not tried it myself!


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://github.com/scantailor/scantailor/wiki/User-Guide"
linktext was:"https://github.com/scantailor/scantailo ... User-Guide"
====================================


Chris
Posts: 521
Shay
Joined: 20 Apr 2015
#3
Libre office writer, insert>.img > scan
and save as a pdf.
Posts: 156
caprea
Joined: 08 Jan 2014
#4
If you are looking for high quality I think inkscape does a good job in converting.
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#5
Shay wrote:Libre office writer, insert>.img > scan
and save as a pdf.
Works for me on jpeg. No need for scan on my end and just export as .pdf.
No extra steps.
Posts: 153
andfree
Joined: 16 Jan 2016
#6
Thanks to all of you for the replies. My problem with imagemagick (the"convert" command) is that the final file is too big as regards its dimensions. It's naturally displayed with a zoom of about 30%. On the other hand, by inserting images to libre office writer and exporting as pdf, the final file has 'normal' dimensions, but it's a bit less clear. Any idea how to use imagemagick to take pdf files of 'normal' dimensions?
Posts: 1,445
skidoo
Joined: 09 Feb 2012
#7
Any idea how to use imagemagick to take pdf files of 'normal' dimensions?
google search"imagemagick rescale jpg pdf"

To preserve quality, perhaps resampling+rescaling (outputting an imagefile of changed dimensions) should be omitted from the workflow, but imagemagick doesn't know 'normal'. When calling the toPDF operation, I suspect you just need to pass a parameter:value indicating displaySize(?) or defaultScaling(?) but I don't know the exact name.

From my own google search just now, this linked result seems promising (discusses"pdf scaling")

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.imagemagick.org/discourse-server/viewtopic.php?t=12360"
linktext was:"http://www.imagemagick.org/discourse-se ... hp?t=12360"
====================================