Convert an Image to Black & White PDF

Posted on 2019-12-19 Nick Villalobos

PDF Header

After reviewing the forums and responses to some surveys we recently send out, I noticed that many developers are looking for the best way to convert an image to a black & white PDF file. LEADTOOLS offers at least two solutions:

  • convert the image to a CCITT-G4 compressed PDF file
  • or use OCR to convert the image into a PDF document.

Both solutions are very simple to implement, so I wrote a basic console application to demonstrate how to implement each.

Download the project

What it Does

This C# .NET 4 console application shows how to use LEADTOOLS to convert an image to black & white raster-based and document-based PDF files.

Features Used

LEADTOOLS Blog

LEADTOOLS Powered by Apryse,the Market Leading PDF SDK,All Rights Reserved