Page 1 of 1

Create PDF file with bookmarks using convert?

Posted: 2014-10-02T06:03:48-07:00
by rhubarbpie
Can a PDF file containing bookmarks be created using convert? I know how to create a PDF with "convert *jpg file.pdf" but that doesn't include bookmarks.

Re: Create PDF file with bookmarks using convert?

Posted: 2014-10-02T10:46:52-07:00
by fmw42
Not that I know.

Re: Create PDF file with bookmarks using convert?

Posted: 2014-10-03T13:51:08-07:00
by JulietLindl
rhubarbpie wrote:Can a PDF file containing bookmarks be created using convert? I know how to create a PDF with "convert *jpg file.pdf" but that doesn't include bookmarks.
I'd like to know if this is possible, anyone have a way of doing this? Thanks Juli

Re: Create PDF file with bookmarks using convert?

Posted: 2014-10-03T14:32:07-07:00
by fmw42
IM can convert most image formats to PDF, but they will just be rasterized and put into a PDF vector shell. IM is not a good processor to create vector PDF files. See http://www.imagemagick.org/Usage/formats/#vector

What are you expecting to start with? Is it an image or another PDF? Where are the bookmarks coming from?

IM cannot add bookmarks to a PDF. Even if you have another PDF with bookmarks and convert that to another PDF, the bookmarks will be lost except possibly for the underlines. The links will be gone.

Please clarify your situation in more detail about your source data.

Re: Create PDF file with bookmarks using convert?

Posted: 2014-10-03T15:02:20-07:00
by rhubarbpie
I have only jpg files. I could live with a bookmark the same as the file name.

Re: Create PDF file with bookmarks using convert?

Posted: 2014-10-03T19:47:50-07:00
by fmw42
rhubarbpie wrote:I have only jpg files. I could live with a bookmark the same as the file name.
We do not know what you mean by a bookmark? Please clarify? If this is a link in an output PDF file, I do not believe that IM can do that.

Re: Create PDF file with bookmarks using convert?

Posted: 2014-10-04T01:58:12-07:00
by rich2005
I do not think IM can do this either.

For simplicity, you might get a result with LibreOffice, a quick test using LO Draw, LO Writer probably the same.

You can add hyperlinks in the document like this: http://i.imgur.com/STDB5fR.jpg

Export as a pdf & looks like this. http://i.imgur.com/mXU826F.jpg

Using PClinuxOS KDE and LO 4.3.2.2 Have not tried the Win version of LO.

Re: Create PDF file with bookmarks using convert?

Posted: 2014-10-04T05:09:32-07:00
by rhubarbpie
Thank you, I use OpenOffice now. However, that's a rather slow process for a large number of images. The convert command is quite simple and very fast. If is only created bookmarks.