Convert an Image to Black & White PDF

Posted on September 1, 2016 by Gabriel Smith

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 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.

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

Git the Code

The project is here on GitHub:

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.