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 DOCX 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”:
These are code samples in C#:
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);
}
}
Here you can find more about PDF Focus .Net: https://www.sautinsoft.com/products/pdf-focus/
If you need a new code example or have a question: email us at support@sautinsoft.com or ask at Online Chat (right-bottom corner of this page) or use the Form below: