Skip to content

Latest commit

 

History

History

SaveAsBitonalTiff

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Convert PDF to bitonal TIFF in C# and VB.NET

This sample shows how to save a PDF page or the whole PDF document as a bitonal (black and white) TIFF image using Docotic.Pdf library.

To produce a bitonal TIFF, create drawing options with specific image compression options. After that, use that drawing options with PdfDocument.SaveAsTiff or PdfPage.Save methods.

To create PdfDrawOptions, use PdfDrawOptions.Create method. After that, use TiffImageCompressionOptions.SetBitonal and ImageCompressionOptions.CreateTiff methods to create compression options for bitonal TIFF output.

See also