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 : Monday, March 16, 2009 10:38:14 AM(UTC)

lili  
lili

Groups: Registered
Posts: 23


Hi,

I am using 14.5 C++ class lib.
When I save 16 bit grayscale image to bitmap format, I realize the annotations I did in it as well.
I found that the color of the realized anotation became grayscale. I want to keep the color of them when they were drawn.
Is it possible? I know mybe I have to change the lookup table.

Thanks.

Lei Ma
 

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 : Monday, March 16, 2009 11:58:25 PM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,326

Was thanked: 1 time(s) in 1 post(s)

Lei,

To keep the color of the Annotation objects, change the bits-per-pixel of the image to 24-bit before realizing the Annotations.
You can change the bits-per-pixel by using the LBitmapBase::ColorRes method.

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
#3 Posted : Tuesday, March 17, 2009 3:56:57 AM(UTC)

lili  
lili

Groups: Registered
Posts: 23


Hi,

Ok, I will try.

Thanks a lot.

Lei Ma
 
#4 Posted : Thursday, March 19, 2009 9:39:52 PM(UTC)
yourfriend20030

Groups: Registered
Posts: 59


Hi!
Can you tell me how to change bitperpixcel of an Image in C# or VB.NET
Thanks in Advance!
 
#5 Posted : Saturday, March 21, 2009 11:46:00 PM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,326

Was thanked: 1 time(s) in 1 post(s)

To change the bits-per-pixel of an Image in C# or VB.NET you can use the ColorResolutionCommand Class.

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
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.068 seconds.