LEADTOOLS Support
Imaging
Imaging SDK Questions
Stamp Annotation L_AnnMove() painting issue
#1
Posted
:
Friday, April 20, 2018 7:15:18 AM(UTC)
Groups: Registered
Posts: 13
I have a situation where I add a stamp annotation to an image. In this case a bitmap of a rectangle with a thin line outlining the bitmap.
When I add the annotation to the image it looks correct. However when I move the annotation with L_AnnMove() the thin line on the edge of the bitmap is not displayed.
As I move the annotation around the page, the lines go from visible to invisible.
Any ideas?
#2
Posted
:
Monday, April 23, 2018 2:54:46 PM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 199
Was thanked: 28 time(s) in 28 post(s)
Hello Andrew,
Apologies for the delay in getting back to you. I believe the issue is simply a matter of sampling/interpolation. If the annotation isn't placed exactly on an integer position or the view is scaled, a single pixel line might not get rendered. How are you displaying the annotations? Are you ensuring you are placing the annotations at integer coordinates only?
Thanks,
Anthony Northrup
Developer Support Engineer
LEAD Technologies, Inc.
#3
Posted
:
Tuesday, April 24, 2018 7:23:48 AM(UTC)
Groups: Registered
Posts: 13
Ah, the stamp can be moved and I never considered forcing the position to integer values. Both the image and the stamp annotation can also be resized. Will give position a tweak and see what happens. Thanks!
LEADTOOLS Support
Imaging
Imaging SDK Questions
Stamp Annotation L_AnnMove() painting issue
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.