Convert pdf document to single page tiff images in ASP.NET application without Adobe control.

Convert pdf document to multiple pages tiff format in web programming with high quality.

This advantage PDF to tiff toolkit is thread safe and processed in low memory. So you can deploy this library in any windowns servers with no difficulty.

Developers can set the DPI property to render the tiff image in any target resolution. Please following the C# code guide in aspx.cs class.

Guide in Visual Studio
  1. Download the trial package and uncompress it.
  2. Open Visual Studio, create new ASP.NET web programming.
  3. Copy "XsPDF.dll", "x86" and "x64" folders from download package to your .NET project Bin folder.
  4. In the Solution Explorer right-click on "References" and select "Add Reference". Next add references to the "System.Drawing" and "XsPDF.dll".
How to Convert PDF to single page TIFF in ASP.NET class?

// Initialize a PDF converter by loading a file from server
PdfImageConverter pdfConverter = new PdfImageConverter("sample.pdf");

// Customized the dpi of rendered image
pdfConverter.DPI = 96;

for (int i = 0; i < pdfConverter.PageCount; i++)
{
    // Change each pdf page to a single page tiff image with original page size
    //Image pageImage = pdfConverter.PageToImage(i);
    // Render tif in specific image size
    Image pageImage = pdfConverter.PageToImage(i, 500, 800);

    // Save single page tiff file in your server side
    pageImage.Save("Page " + i + ".tiff", ImageFormat.Tiff);
}

How to Convert PDF to multiple pages tiff file in ASP.NET class?

// Initialize a PDF converter by loading a file from server 
PdfImageConverter pdfConverter = new PdfImageConverter("sample.pdf");

// Customized the dpi of rendered image
pdfConverter.DPI = 96;

// Convert whole pdf document to a multipage tiff image file
// you can set the target image size for each page
pdfConverter.DocumentToMultiPageTiff(500, 800, "Page_multiple.tiff");