How to convert PDF files to multipage TIFF using С# !

Articles from our customers

I’m developing a Web-app to online converting of PDF files in DOC and TIFF.

The part of functions I’ve successfully made, but I get troubles with PDF to TIFF (PDF to MultiPage TIFF) conversion. As I found, there is no standard methods in Visual Studio .Net to operate with PDF to Images! I’ve googled and found easy and inexpensive library in Internet, which is written in C#. Here I’m placing my code which shows “How to convert PDF to multipage TIFF”:

 

SautinSoft.PdfFocus f = new SautinSoft.PdfFocus();
string pdfPath = @"C:\My project\Report.pdf";
string tiffPath = @" C:\My project\Report.tiff";
 
f.OpenPdf(pdfPath);
 
if (f.PageCount > 0)
{
    //convert with 120 dpi
    if (f.ToMultipageTiff(tiffPath, 120) == 0)
    {
        System.Diagnostics.Process.Start(tiffPath);
    }
}

If you have questions, email me at dev@simpledeveloper.com or visit this web-site: SautinSoft – www.sautinsoft.com

Good Luck!

Share on Facebook

Leave a Comment

Your email address will not be published.