LEADTOOLS Support
Document
Document SDK Examples
HOW TO: Load an image, Add and Burn annotations, and Save the image without display
#1
Posted
:
Friday, February 6, 2009 7:01:58 AM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 764
This simple C# 2005 example shows how to use the LEADTOOLS v16 .NET libraries to load a multipage image, add a text annotation to each page, burn the annotations to the image, and then save the image to disk without displaying the image or annotations. One applicaion this would be useful for would be a service that is intended to stamp batches of documents with text, stamps, or redacts.
The main classes and functions used in this demo are:
RasterCodecs.Load
RasterCodecs.Save
AnnAutomation.Realize
#2
Posted
:
Wednesday, March 4, 2009 6:51:39 AM(UTC)
Groups: Tech Support
Posts: 366
Thanks: 1 times
Was thanked: 4 time(s) in 4 post(s)
#3
Posted
:
Monday, October 9, 2017 8:22:07 AM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 199
Was thanked: 28 time(s) in 28 post(s)
Updated to LEADTOOLS v19 with Visual Studio 2017. Also changed project to automatically select dll's for running in 32-bit and 64-bit.
Extract to "C:\LEADTOOLS 19\Examples\DotNet\CS\" to use the example.
There is an included Tiff file ("CS_AnnWithoutDisplay.tif") for testing, copy to the "LEADTOOLS Images" directory ("C:\Users\Public\Documents\LEADTOOLS Images\") before running.
Anthony Northrup
Developer Support Engineer
LEAD Technologies, Inc.
#4
Posted
:
Tuesday, October 15, 2019 4:31:54 PM(UTC)
Groups: Registered
Posts: 22
Project updated to LEADTOOLS v20 with Visual Studio 2019. It is no longer necessary to copy the included test file to the "LEADTOOLS Images" directory("C:\Users\Public\Documents\LEADTOOLS Images\"). The TIFF file ("ocr1-4.tif") used for testing is already located in the "LEADTOOLS Images" directory.
Robbey Rodriguez
Developer Support Engineer
LEAD Technologies, Inc.
LEADTOOLS Support
Document
Document SDK Examples
HOW TO: Load an image, Add and Burn annotations, and Save the image without display
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.