PDF to TIFF - pqScan.com
VB.NET PDF to Tiff Converting PDF into Tiff Image Files in Visual Basic.NET Online Demo Download Trial Purchase Now

How to Convert PDF to TIFF in Visual Basic.NET?

back to home  >  PDF to Image SDK  >  How to Convert PDF to Image  >  Convert PDF to TIFF

Converting PDF pages to Images is a common requirement. In case that you want to turn PDF pages to TIFf image, this tutorial is useful and helpful.

In this article, we will introduce you how to convert PDF to single tiff image file using vb.net, while you may also be interest in PDF to multi-page TIFF conversion in Visual Basic.NET.

All of our course is very short of competent. Just need you download PDF to Image SDK for .NET and create a new Console Application using below codes.

PDF to TIFF - VB.NET sample

Copy following Visual Basic.NET codes and paste them to your .NET programming, you will find it's really a quick and easy way to convert PDF to TIFF image using PDF To Image SDK.

Imports System.Drawing
Imports System.Drawing.Imaging
Imports PQScan.PDFToImage

Namespace PDF2TIFF
  Class Program
    Private Shared Sub Main(args As String())
      ' Create an instance of PQScan.PDFToImage.PDFDocument object.
      Dim pdfDoc As New PDFDocument()

      ' Load PDF document.
      pdfDoc.LoadPDF("sample.pdf")

      'Get total page count.
      Dim count As Integer = pdfDoc.PageCount

      For i As Integer = 0 To count - 1
        'Convert page to image
        Dim tifImage As Bitmap = pdfDoc.ToImage(i)
        'Save image with tiff file type
        tifImage.Save("output" & i & ".tiff", ImageFormat.Tiff)
      Next
    End Sub
  End Class
End Namespace

Another VB.NET tutorial: converting first page of PDF document to Tiff image with half the size of original page.

Imports System.IO
Imports System.Drawing
Imports System.Drawing.Imaging
Imports PQScan.PDFToImage
Namespace PDFToTIF
  Class Program
    Private Shared Sub Main(args As String())
      ' Generate a new PDFDocument instance from PQScan.PDFToImage.
      Dim pdf As New PDFDocument()

      ' Open PDF document to file stream
      Dim stream As New FileStream("sample.pdf", FileMode.Open)

      ' Load message from PDF document stream.
      pdf.LoadPDF(stream)

      ' Specify tif image width from PDF page
      Dim width As Integer = pdf.GetPageWidth(0) / 2
      ' Specify tif image height from PDF page
      Dim height As Integer = pdf.GetPageHeight(0) / 2

      'Convert PDF first page to image with the customized size
      Dim tif As Bitmap = pdf.ToImage(0, width, height)
      'Save image to tif format
      tif.Save("result.tiff", ImageFormat.Tiff)
    End Sub
  End Class
End Namespace

convert pdf to tif in vb.net

In the extra article "How to resize images from PDF pages using vb.net", you will find more useful information about changing the output image size and quality.

pqScan SDK
.NET DLL for PDF to Image
Online Guide
.NET Guide for PDF to Image
Conversion Type
ASP.NET PDF to BMP Converter ASP.NET PDF to PNG Converter C# PDF to JPEG Converter C# PDF to PNG Converter VB.NET PDF to Multi-tiff Converter .NET PDF to Bitmap Converter .NET PDF to GIF Converter View All Image Types >>
Among other PDF converter SDKs in the market, I am extremely happy with your product. It has all functions I need and easy to be used in my .NET project. Till now, everything works out perfectly. Great resource! Nathan Barr