This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Wednesday, March 17, 2010 7:25:25 PM(UTC)
Groups: Registered
Posts: 4
Someone please help me!
I have annotations in a tiff file using a red color. However, when I use the AnnRealize method, the rectangles are burned in black. Is this really its usual behavior?
I want to preserve the annotations' color when I burn them into the image. Is there a way to do this?
I would really appreciate your response! Thanks!
#2
Posted
:
Thursday, March 18, 2010 3:43:20 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
If you're loading a 1-bit (Black and White) image and you save it as 1-bit, the realized object will become totally black. If you want to realize the object and keep its color, save the image as 24-bit colored image.
#3
Posted
:
Friday, March 19, 2010 1:11:32 AM(UTC)
Groups: Registered
Posts: 4
Thank you so much! Saving the image into 24-bit before realizing the objects retained the borderlines of the rectangle annotations.
However, I have another question. I have annotations with a yellow background color. When I realize the objects, the part inside the annotations are "erased" or blank. What should I do?
Thanks and hoping for your reply again. [:)]
#4
Posted
:
Sunday, March 21, 2010 6:56:53 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Please send me the following details:
1. Which LEADTOOLS version (15, 16, etc.) and programming interface (Main OCX, .NET classes, DLL API, C++ Classes, etc.) are you using?
2. Open our main annotations demo shipped with the toolkit and draw objects with a similar background color. After that, save the annotations to disk and put the file or files that contain the image and objects in a ZIP or RAR file and send them to me.
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.