LEADTOOLS Support
Document
Document SDK Questions
Displaying images in a RasterImageViewer marked red
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Friday, July 20, 2007 3:21:57 AM(UTC)
Groups: Registered
Posts: 4
Hi!
LT V.14.5 here.
I want to mark images red. The images are scanned bw and color, tiffs and jpegs. They are being displayed with reduced size, each in a RasterImageViewer. MagnifyGlass is on.
Is there an easy way to let the unchanged images be displayed red with the colored details preserved? It was easy using SetPalette for the black/white images, but the GrayScale painting wasn't there anymore so the details were lost for the reduced size view. Also, manipulating the palette for a jpeg image is a little bit complicated.
What I'm actually looking for is some kind of semi transparent red overlay to draw above the images in the RasterImageViewer or something similar. This would meet the requirements stated above. Is there a high performance way of doing this (Up to 100 boxes will be displayed on the form, with multiple pages, so fast refresh rates are required)
If there is a snippet around, please post it as well.
Thanks in advance,
Matthias
#2
Posted
:
Monday, July 23, 2007 6:29:12 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Matthias,
If you have LEADTOOLS Document Imaging, you can use our annotation
objects (such as filled Rectangle) and draw it on the images. You can set the
brush color and transparency level without having to modify the image itself,
because annotations are kept separate from the pixel data.
#3
Posted
:
Monday, July 23, 2007 7:38:49 AM(UTC)
Groups: Registered
Posts: 4
Thanks a lot, that will do the trick!
Regards,
Matthias
LEADTOOLS Support
Document
Document SDK Questions
Displaying images in a RasterImageViewer marked red
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.