LEADTOOLS Support
Document
Document SDK Questions
Question about displaying existing annotations within an image
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, December 12, 2006 11:49:54 AM(UTC)
Groups: Registered
Posts: 14
Our image display code currently uses a class derived from LBitmapWindow to manage viewing images files, navigating between pages, zooming, panning, etc.
We need to be able to load and display annotations that may be present in a tif image. We do not need to create, select, or modify any existing
annotations.
Is there a basic way to piggyback painting and display of the annotations into our existing code?
I am able to programmatically create annotation objects and save them to TIFs. The Windows Picture Viewer loads the resulting images and displays the annotations.
Thanks
#2
Posted
:
Wednesday, December 13, 2006 1:15:56 AM(UTC)
Groups: Registered, Tech Support
Posts: 1,326
Was thanked: 1 time(s) in 1 post(s)
Hello,
Do you mean that you want to display the saved annotation in a TIFF image using LEADTOOLS?
If yes, you may try to use the LAnnotationWindow class and call the LAnnotationWindow::AnnLoad method to load annotations stored in TIF files.
What is exact LEADTOOLS version that you use?
Thanks,
Maen Badwan
LEADTOOLS Technical Support
#3
Posted
:
Wednesday, December 13, 2006 5:21:00 AM(UTC)
Groups: Registered
Posts: 14
Yes, I do want to display the saved annotation from the TIFF image.
I originally tried deriving my image class from LAnnotationWindow instead of LBitmapWindow. This method seemed to work as far as displaying the TIFF and detecting presence of an annotation after AnnLoad(). I was unable to actually display the annotation.
I was also unable to draw highlights on the image that I had been able to do with LBitmapWindow. I still need to review exactly which LBitmapWindow calls stopped working.
The main purpose of this post was to find out if there was a different mechanism than LAnnotationWindow that I should be using. I will let you know what happens when I get back to it.
We are using version 14.5.
Thanks.
#4
Posted
:
Thursday, December 14, 2006 5:32:02 AM(UTC)
Groups: Registered, Tech Support
Posts: 1,326
Was thanked: 1 time(s) in 1 post(s)
Hello,
You can check the LEADTOOLS C++ Class Library Annotation demo that uses the LAnnotationWindow to load, draw, display and save annotations.
You can find the demo installed onto the following location on your machine:
..\Program Files\LEAD Technologies, Inc\LEADTOOLS 14.5\Examples\CLASSLIB\MSVC5\ANNOTATE
Thanks,
Maen Badwan
LEADTOOLS Technical Support
LEADTOOLS Support
Document
Document SDK Questions
Question about displaying existing annotations within an image
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.