Convert Multiple-Images Tiff File to PDF

Could Aspose.PDF convert multiple-images tiff file to a PDF? If it can, please post c# or vb code.

Thanks

Dear tfong,

Thanks for your consideration.

I’m sorry, the function you want is not supported currently in Aspose.Pdf.


Hi,

We’re focusing on this issue now and hopefully you will get a hot fix for it November 10.

Thanks for your patience.

Has this capability been finished? If so, could you post the c# code. Specifically, I would like to see how you handle converting the multiple images (if you do not know ahead of time how many images are in the tiff file).

Dear customers,

Thanks for your consideration.

Multi-page Tiff image is now supported. Please download hot fix in thread New Release 1.5 and Its Hot Fixes.

You should use the TiffFrame property to control which frame to display. If you do not know ahead of time how many images are in the tiff file, you can use code like the following:

System.Drawing.Bitmap bm = new System.Drawing.Bitmap(“img.tif”);
int total = bm.GetFrameCount(FrameDimension.Page);