Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 1.2 KB

File metadata and controls

12 lines (9 loc) · 1.2 KB

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