I am writing a vb.net tool to convert a batch of TIFF files to a single PDF. I need a component that I can include that will do that. But at the same time I need to be able to add some text to the header at the top of each page and also to create bookmarks. I did a search on "convert TIFF to PDF" and one of the hits was for ImageMagick. I know next to nothing about ImageMagick but what I did read indicates I can do the conversion with it. Will any of the ImageMagick tools accomplish what I need to do? If so, which one(s)? The biggest issues are the ability to add text to pages and create bookmarks.
Thanks,
Keith
what tools to use?
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: what tools to use?
See IM Examples
http://www.imagemagick.org/Usage/
Start with basics. And especially the "convert" command.
http://www.imagemagick.org/Usage/basics/#convert
Writing Text and bookmarks see "Annotating Images"
http://www.imagemagick.org/Usage/annotating/
For VB specifics see IM under Windows
http://www.imagemagick.org/Usage/windows/
http://www.imagemagick.org/Usage/
Start with basics. And especially the "convert" command.
http://www.imagemagick.org/Usage/basics/#convert
Writing Text and bookmarks see "Annotating Images"
http://www.imagemagick.org/Usage/annotating/
For VB specifics see IM under Windows
http://www.imagemagick.org/Usage/windows/
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: what tools to use?
I have a very similar task:
I would like to merge several images into one pdf file which works fine. But I would like to add automatically pdf-bookmarks for specific pages (pictures) during this converting.
I tried
convert pic_01.jpg pic_02.jpg -caption "my pic 02" pic_03.jpg mypics.pdf
convert pic_01.jpg pic_02.jpg -label "my pic 02" pic_03.jpg mypics.pdf
and also
convert pic_01.jpg pic_02.jpg -set bookmark "my pic 02" pic_03.jpg mypics.pdf
but nothing generates the bookmarks in the pdf file.
What do I wrong here?
I would like to merge several images into one pdf file which works fine. But I would like to add automatically pdf-bookmarks for specific pages (pictures) during this converting.
I tried
convert pic_01.jpg pic_02.jpg -caption "my pic 02" pic_03.jpg mypics.pdf
convert pic_01.jpg pic_02.jpg -label "my pic 02" pic_03.jpg mypics.pdf
and also
convert pic_01.jpg pic_02.jpg -set bookmark "my pic 02" pic_03.jpg mypics.pdf
but nothing generates the bookmarks in the pdf file.
What do I wrong here?
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: what tools to use?
I am unaware that IM can add bookmarks links. You probably need to use Adobe Acrobat for that. I will defer to anyone who knows otherwise.
Perhaps I misunderstand by what you mean by "bookmarks". Can you explain a bit more about what functionality you desire?
Perhaps I misunderstand by what you mean by "bookmarks". Can you explain a bit more about what functionality you desire?
Re: what tools to use?
Thanks for that quick response.
Yes, I meant these bookmark links.
I can manually add such bookmarks to an existing pdf for example with Foxit Reader. But I thought that I could somehow automate it in a script during creation of the pdf with IM.
I think I have found a solution for my "problem": With MarkdownPad it is possible to generate a pdf and it automatically creates the bookmark links out of the headers. It also support nested bookmarks. The source code looks like this:
# Header 1
![](./pic1.jpg)
# Header 2
![](./pic2.jpg)
![](./pic3.jpg)
## Sub header 2.1
![](./pic4.jpg)
Yes, I meant these bookmark links.
I can manually add such bookmarks to an existing pdf for example with Foxit Reader. But I thought that I could somehow automate it in a script during creation of the pdf with IM.
I think I have found a solution for my "problem": With MarkdownPad it is possible to generate a pdf and it automatically creates the bookmark links out of the headers. It also support nested bookmarks. The source code looks like this:
# Header 1
![](./pic1.jpg)
# Header 2
![](./pic2.jpg)
![](./pic3.jpg)
## Sub header 2.1
![](./pic4.jpg)