.NET PDF to TIFF tutorial shows how to convert.pdf file to.tif /.tiff image using. Use C# or Visual Basic.NET source code below for PDF conversion. C# // Create an instance of Bytescout.PDFRenderer.RasterRenderer object to convert pdf to tiff RasterRenderer renderer = new RasterRenderer; renderer.RegistrationName = 'demo'; renderer.RegistrationKey = 'demo'; // Load PDF document into renderer to perform pdf to tif rendering renderer.LoadDocumentFromFile('multipage.pdf'); // pdf to tiff conversion renderer.RenderPageRangeToMultipageTIFFFile (0, renderer.GetPageCount-1, TIFFCompression.LZW, 'multipage.tiff'); // Open the first output file in default image viewer. System.Diagnostics.Process.Start('multipage.tif'); VB.NET ' Create an instance of Bytescout.PDFRenderer.RasterRenderer object to convert PDF to TIFF Dim renderer As New RasterRenderer renderer.RegistrationName = 'demo' renderer.RegistrationKey = 'demo' ' Load PDF document. Renderer.LoadDocumentFromFile('multipage.pdf') ' define PDF page to start from for PDF to tif conversion Dim StartPageIndex As Integer = 0 ' define page to end on Dim EndPageIndex As Integer = renderer.GetPageCount - 1 ' Render PDF to TIFF image file (with multiple TIF pages) renderer.RenderPageRangeToMultipageTIFFFile(StartPageIndex, EndPageIndex, TIFFCompression.LZW, 'multipage.tiff') ' Open the first output file in default image viewer.
Creating PDF files from images is very easy with PDFSharp. For TIFF images, the downside is that the speed is significantly lower compared with the method described in the article Convert Tiff To PDF.
When answering a question please:. Read the question carefully. Understand that English isn't everyone's first language so be lenient of bad spelling and grammar.
If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. Insults are not welcome.
Don't tell someone to read the manual. Chances are they have and don't get it. Provide an answer or move on to the next question. Let's work to help developers, not make them feel stupid.