-merge-add-bookmarks not working properly with PDFs created from JPEGs
johnwhitington opened this issue · 1 comments
Customer reports:
I also tried the same with the "-merge" option:
cpdf -merge "IMG_1.jpg" "IMG_2.jpg" "IMG_3.jpg" -merge-add-bookmarks -o out2.pdf
cpdf -merge "IMG_1.jpg" "IMG_2.jpg" "IMG_3.jpg" -merge-add-bookmarks AND -set-page-mode UseOutlines -o out3.pdf
Well, the output pdf is created, and the images/pages can be viewed,, but when I open it, I get a warning message that the pdf uses a new format that this Acrobat version does not support. Relatedly, Acrobat Reader also gives me this warning, whereas Foxit and IrfanView open this merged pdf without any fuss.
Futhermore, when I fetch BM info, I get this:
0 "." 1 "[1/XYZ null null null]"
0 "." 2 "[2/XYZ null null null]"
0 "." 3 "[3/XYZ null null null]"
which strikes me as weird. Yet, these BMs work as expected: I can use them to jump to the corresponding page!