Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
15
rated 0 times [  15] [ 0]  / answers: 1 / hits: 133434  / 1 Year ago, mon, february 13, 2023, 5:49:58

I have saved multiple images from google books. I wanted to convert them to a single pdf file, where in I need some inputs. The below two images(one png and one jpeg) are two continuous pages.



first page(png)



second page(jpeg)



I save them in my system. I converted them to pdf using the command below



convert books.png books.jpeg combined.pdf


However the combined.pdf is not giving me expected results, not the combination of the two.



I also tried making individual pdf files, then combining them using pdftk, with no luck



convert books.png book1.pdf
convert books.jpeg book2.pdf
pdftk book1.pdf book2.pdf cat output combined.pdf

More From » imagemagick

 Answers
5

I used the two sample pages you provided and printed them using cups-pdf printer resulting in two pdf files.



Then I used pdfsam to combine pdf files in one. I see no problem in the result.



Edit: I just saw that you have many files to process, you can use print-selected script in Nautilus described here


[#24212] Tuesday, February 14, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
elopingapo

Total Points: 206
Total Questions: 110
Total Answers: 114

Location: Guam
Member since Tue, Nov 29, 2022
1 Year ago
;