About Gabriel Smith

Developer Advocate

Find more about me on:

Here are my most recent posts

Correct Photos of Documents – Two- and Three-dimensional Skew

As I mentioned in my previous post, Correct Photos of Documents – Ambient Lighting, most images of documents suffer from skew. There are two types of skew: two-dimensional and three-dimensional. Text is typically parallel to the top and bottom of … Continue reading

Posted in Document Imaging | Tagged , , | 1 Comment

Correct Photos of Documents – Ambient Lighting

In my previous post, “Solution to 4 Common First-world Problems – Convert and Merge to PDF,” I implemented a solution to convert images of documents to text-searchable PDF files. The source images were produced from a document scanner and the … Continue reading

Posted in Document Imaging | Tagged | 3 Comments

Solution to 4 Common First-world Problems – Convert and Merge to PDF

This past weekend, I was very fortunate compared to so many people that recently faced and are still having to deal with Hurricane Florence. At home, the power is out, but there is no major damage. I am fortunate. Since … Continue reading

Posted in Document Imaging, OCR, PDF | Tagged , , , | Leave a comment

Do it in the Buffer: Introduction to Dithering

I recently became intrigued by some art work I saw online. It is a bunch of Rubik’s cubes set up to reproduce a picture. The artists are essentially reducing the image’s colors down to a palette of six colors with … Continue reading

Posted in General Imaging, Image Processing | Tagged , | Leave a comment

Do it in the Buffer: Comparison of RasterImage Image Data Access Methods in .NET

There are several ways to access the data in a RasterImage. If you need to get the RGB values of each pixel, then the GetPixel() and GetRow() methods are the simplest methods to use. Few Pixels If you need to … Continue reading

Posted in General Imaging, Image Processing | Tagged | Leave a comment

PDF Encrypter

Continuing my adventure of “Going Paperless“, I needed an easy way to encrypt PDF files before I added them to Evernote. To do this, I used the LEADTOOLS PDFFile() class to add a user password to a file. I created … Continue reading

Posted in Document Imaging | Tagged , , , , , | Leave a comment