Using TwainSession.SaveTemplate to Save a Subset of Settings

Posted on 2016-10-07 10:51:41 by Greg

Saving the settings of your TWAIN device is a very important feature which is fully supported by LEADTOOLS. For the end-user, it allows them to load and save different scanning profiles and options they use on a regular basis such as "high resolution color photo", "medium quality black and white document", or "auto-cropped receipt". One caveat to this feature is that it saves all of the settings, which comes with a few downsides:

  1. Large template files
  2. Longer execution time
  3. Most importantly...That template file will only work on one scanner

To alleviate these problems, LEADTOOLS now has a new overload for its TwainSession.SaveTemplateFile function which allows you to save a subset of settings rather than the entire collection. As long as you are saving core, mandatory settings that are supported by all TWAIN scanners, you can use these templates regardless of the hardware device being used!

Continue Reading...

Cleaning Up Color Images with LEADTOOLS Document Imaging

Posted on 2016-10-07 10:49:40 by Greg

One of the most foundational features in document imaging is image cleanup (also called preprocessing). When paper documents are scanned to digital form there are almost always imperfections. The paper can be at an angle, hole punches leave large black dots, folded paper introduces lines, and at the very least dust speckles litter small, dark dots throughout the image. All of these can have an adverse trickle-down effect on many other algorithms such as OCR, Forms, Barcode, Compression and more.

There is one caveat with most document imaging libraries: the document images must be black and white. While technically true for LEADTOOLS as well, it's not a limitation whatsoever. Each of the LEADTOOLS document cleanup functions return information on what it has done. For example, you can get the deskew angle, rectangle to crop, or region to fill and then apply those same operations on a color image:

Continue Reading...

Using LEADTOOLS HTML5 Viewer in Windows Metro Post #2: Annotations

Posted on 2016-10-07 09:53:36 by Greg

Continue Reading...

Custom Annotations: 25 Projects in 25 Days

Posted on 2015-10-30 09:06:23 by Greg

CustomAnnotations Screenshot

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

What it Does

This C# application will create several custom annotations using LEADTOOLS Version 19.

Continue Reading...

Page Arranger: 25 Projects in 25 Days

Posted on 2015-10-15 06:43:15 by Greg

Page Arranger Screenshot Page Arranger Rearranged

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

What it Does

This project uses drag-and-drop to reorder pages within document or image files using LEADTOOLS Version 19.

Continue Reading...
LEADTOOLS Blog

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