Welcome Guest! To enable all features, please Login or Register.



Last Go to last post Unread Go to first unread post
#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?

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, April 23, 2018 2:54:46 PM(UTC)
Anthony Northrup

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?

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!
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.059 seconds.