This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Monday, March 16, 2009 10:38:14 AM(UTC)
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
#2
Posted
:
Monday, March 16, 2009 11:58:25 PM(UTC)
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)
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)
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)
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.