Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Friday, February 6, 2009 7:01:58 AM(UTC)

GregR  
GregR

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
File Attachment(s):
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Wednesday, March 4, 2009 6:51:39 AM(UTC)

Walter  
Walter

Groups: Tech Support
Posts: 366

Thanks: 1 times
Was thanked: 4 time(s) in 4 post(s)

For a low-level approach (without automation or the RasterImageViewer control), please see the following posting:
https://www.leadtools.com/support/forum/posts/t6960-HOW-TO--Load-an-image--add-annotations--and-save-the-image-without-display-and-without-the-RasterI

Edited by user Wednesday, May 10, 2017 4:17:59 PM(UTC)  | Reason: Updated link

Walter Bates
Senior Support Engineer
LEAD Technologies, Inc.
LEAD Logo
 
#3 Posted : Monday, October 9, 2017 8:22:07 AM(UTC)
Anthony Northrup

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.
File Attachment(s):
CS_AnnWithoutDisplay.zip (39kb) downloaded 359 time(s).
Anthony Northrup
Developer Support Engineer
LEAD Technologies, Inc.

LEAD Logo
 
#4 Posted : Tuesday, October 15, 2019 4:31:54 PM(UTC)

Robbey  
Robbey

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.

File Attachment(s):
CS_AnnWithoutDisplayv20.zip (297kb) downloaded 103 time(s).
Robbey Rodriguez
Developer Support Engineer
LEAD Technologies, Inc.
Leadtools Logo
 
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.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.077 seconds.