We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

tiff conversion

The site boasts that this library supports tiff to pdf conversion. How is this done? It is not mentioned in the documentation at all.

4 Replies

AJ Ajish Syncfusion Team June 21, 2007 09:04 PM UTC

Hi Perry,

Thank you for your interest in Essential Pdf.

Here is a code snippet to insert a multi frame tiff image to pdf.

// To draw multipage tiff file in multi page.
for( int i = 0, len = image.FrameCount; i < len; i++ )
{

// Get active frame.
image.ActiveFrame = i;
SizeF imgSize = new SizeF( doc.LastPage.DrawingWidth, doc.LastPage.DrawingHeight );
doc.LastPage.Graphics.DrawImage( new PointF( 0, 0 ), image, imgSize );
if( i != len - 1 )
{
doc.CreatePage();
}
}

and the sample is available along with our install which can be found at the following path

C:\Documents and Settings\{user name}\My Documents\Syncfusion\EssentialStudio\5.1.1.0\Windows\Pdf.Windows\Samples\2.0\Grid Model\Graphics\TiffToPdf\cs

Please take a look and let me know if you have any questions.

Regards,
Ajish.


HS Howard Shlom August 23, 2012 03:20 PM UTC

Could you post the path for that sample in a recent version, such as version 9?
Thank you!


GL George Livingston Syncfusion Team August 30, 2012 04:10 AM UTC

Hi Howard,

Thank you for using Syncfusion products.

Please find the sample available in the link below to convert TIFF to PDF document,

TiffToPDF.zip

Please let us know if you have any questions.

Regards,

George



RR Ranga Rao Kalluri December 31, 2014 10:35 AM UTC

Hi George,

I tried below code to convert attached tiff file to pdf,but after converting into pdf , the file is not proper.Please find attached files

Attachment: Files_ae46e90e.zip

Loader.
Live Chat Icon For mobile
Up arrow icon