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, June 18, 2010 10:52:40 AM(UTC)

GregR  
GregR

Groups: Registered, Tech Support, Administrators
Posts: 769


Annotations live in a layer outside of the image.  Therefore when using and displaying them you can still have color annotations on top of the black and white image.  However, when you go to Realize or permanently burn the annotations onto the image you will often just become black or white and often times with hilite annotations completely invisible.

Since the 1bpp image only has two colors the annotations must get converted to those colors in order to become part of the bitmap data.  We use Windows functions under the hood to do this and it just does a simple combination based on the intensity.  Therefore dark colors such as blue, red, etc. will become black and light colors like yellow become white.  If an annotation has alpha (such as a highlight annotation) it will become either invisible or solid.

The workaround to this is to convert the image to 24bpp, realize the annotations, then convert back to 1bpp in some fashion.  Probably the best way to go to black and white is using our Halftone feature.  Attached is a small C# application that lets you draw annotations and then realize them either by themselves (which results in large black or white annotations) or to do the halftoning workaround.  Draw some annotations and click the Realize button.  Then move those annotations, select the checkbox and click Realize again to see the difference.
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.

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-2017, Yet Another Forum.NET
This page was generated in 0.120 seconds.