PDF Encrypter

Posted on 2019-12-19 12:21:53 by Nick Villalobos

PDF Encrypter Explorer Integration Screenshot

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 a console application with code to register itself into the Windows Explorer shell. Now I can right click any PDF file and encrypt it with a password. The LEADTOOLS code to do this is very easy; it took me longer to figure out how to edit the registry to add the application to the Windows Explorer context menu then it did to use LEADTOOLS to add the password.

One call got it done:

new PDFFile( fileName, password ) {
   SecurityOptions = new PDFSecurityOptions {
      UserPassword = newPassword,
      EncryptionMode = PDFEncryptionMode.RC128Bit
   },
   CompatibilityLevel = PDFCompatibilityLevel.PDF15
}.Convert( 1, -1, null );
Continue Reading...

Preprocess and OCR Small [Low Resolution] Images

Posted on 2019-12-19 12:19:20 by Nick Villalobos

LEADTOOLS OCRLow-resolution images can come from a variety of sources, but the most common source is probably screen capture. Screen capture images are usually 96 DPI on Windows. (This can vary depending on the user settings). Additionally, image representations of incoming faxes may also be considered low-res and fall under the resolution threshold acceptable for OCR. Typically, OCR engines require images of 200 or 300 DPI in order to achieve acceptable results.

Change Image Resolution

One easy solution for images that do not have noise or have complex structures is to change the resolution of the image before OCRing the image. This C# sample shows you how, then it gets the text from the image and outputs it to the console.

Continue Reading...

Efficiently Convert a Document to an Image

Posted on 2019-12-19 10:44:31 by Nick Villalobos

One of the new features of the latest LEADTOOLS V19 update is a re-factored load algorithm, which has resulted in greatly reduced load times of documents formats such as PDF, MS-Office formats 97-2013 (Word, Excel, and PowerPoint), and TXT. The increase in speed is directly related to the number of pages in the document; the more pages, the greater the increase of speed.

Below is a C# code snippet showing how to use the new feature with the new bits marked.

Continue Reading...

Linux OCR, Barcode and Format Conversion Batch Processor: 25 Projects in 25 Days

Posted on 2019-12-18 11:51:54 by Nick Villalobos

As part of the LEAD Technologies 25th anniversary, we are creating 25 projects in 25 days to celebrate LEAD's depth of features and ease of use. Today's project comes from Nathan.

Download the Project

Continue Reading...

Client-side Image Processing with HTML5 and JavaScript

Posted on 2019-10-29 11:20:46 by Nick Villalobos

When LEAD Technologies set out to create its HTML5 SDK, we wanted to do it right by making LEADTOOLS the fastest and most interactive toolkit available. Thanks to our many customers investing in and developing with this technology, we take that as a vote of confidence that we have succeeded in attaining that goal.

There are many ways to design a zero footprint application, and unfortunately the performance and quality often suffer due to many applications simply pushing all of the image processing to a server. With the LEADTOOLS JavaScript libraries, you can gain all the advantages of zero footprint development without losing the user-friendliness of an application that can provide instantaneous visual feedback.

Continue Reading...
LEADTOOLS Blog

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