[C#/VB.NET] Converting TIFF images to PDF documents

Example requests & Code samples for GdPicture Toolkits.
Post Reply
varcarme
Posts: 40
Joined: Tue Feb 05, 2008 8:56 pm

Convert Multi-Page TIFF to Multi-Page PDF

Post by varcarme » Wed Mar 12, 2008 12:37 am

Hi Loic

Is there any sample code to do this?

Also....just a thought....are there any plans to include a MAIL facility within the new version so that I could quickly call up my mail client with the current (or a.n.other) image attached.

I can use MAPI but it would be great (and far simpler) if I could use GD....

Thanks

Andy

fbmachines
Posts: 24
Joined: Tue Nov 27, 2007 2:50 am

Re: Convert Multi-Page TIFF to Multi-Page PDF

Post by fbmachines » Wed Mar 12, 2008 6:06 am

Andy,
I stumbled across this link in the documentation section for such example using Visual Basic. Is this what you were looking for?
https://www.gdpicture.com/samples/sample ... basic.html

Code: Select all

Dim Imaging As New GdPicturePro5.cImaging
Dim nImageID As Long

nImageID = Imaging.CreateImageFromFile("multipage_tif.tif")
Call Imaging.PdfCreateFromMultipageTIFF(nImageID, "output.pdf")
Imaging.CloseImage (nImageID)
Corey

varcarme
Posts: 40
Joined: Tue Feb 05, 2008 8:56 pm

Re: Convert Multi-Page TIFF to Multi-Page PDF

Post by varcarme » Wed Mar 12, 2008 12:18 pm

Thanks Corey



Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 1 guest