LEADTOOLS Support
Document
Document SDK Questions
Interpolation not working, image viewer html5.
#1
Posted
:
Tuesday, December 4, 2018 6:32:02 PM(UTC)
Groups: Registered
Posts: 9
Thanks: 1 times
We have some images that needs the interpolation due seem worse when the zoom out is on them because they come from fax that was scanned so they are full of pixels and no continued lines .
I have the next behavior in chrome, but in IE seems that interpolation never take place.
-In chrome when the page display with the image seems ok, if we make zoom out it still seems ok, but when the zoom in take place until reach at least the 100% of the image and then a zoom out is performed again, the image display bad without any interpolation on it.
I attached a working example of it, and also a document showing the scenario.
Am I doing something wrong there?
#2
Posted
:
Thursday, December 6, 2018 1:05:46 PM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 199
Was thanked: 28 time(s) in 28 post(s)
Hello,
Apologies for the delay in getting back to you, there was a notification on your account that required discussion with your company's account manager. I am able to reproduce the issue with the project you uploaded, but I'll need some time to debug what property needs to be modified in order to fix the problem.
Thanks,
Anthony Northrup
Developer Support Engineer
LEAD Technologies, Inc.
#3
Posted
:
Friday, December 7, 2018 9:13:04 AM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 199
Was thanked: 28 time(s) in 28 post(s)
Hello,
After looking over the project again, it looks like you simply capitalized two letter I's ("eye") throughout your code, specifically on lines 33 and 34. Here are the corrected lines:
Code:
lt.Controls.ImageViewer.imageProcessingLibrariesPath = "lib-20";
imageViewer.interpolationMode = lt.Controls.InterpolationMode.resample;
The two properties that were mistyped were:
Thanks,
Anthony Northrup
Developer Support Engineer
LEAD Technologies, Inc.
1 user thanked Anthony Northrup for this useful post.
#4
Posted
:
Monday, December 10, 2018 11:34:56 AM(UTC)
Groups: Registered
Posts: 9
Thanks: 1 times
It works in our test project, now we will update with this changes our product and hopes this resolve the issue reported to us by our customers.
There was some sort of change between v19 and v20 for this libraries name?
Thanks a lot on this.
#5
Posted
:
Monday, December 10, 2018 12:05:12 PM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 199
Was thanked: 28 time(s) in 28 post(s)
Hello,
It hasn't been changed, however our documentation has had some issues with our JavaScript documentation properties. They are nearly identical to our .NET SDK, aside from the first letter being lowercase. I'll reach out to our documentation team to ensure all of the references to these properties properly have the lowercase first letter.
Thanks,
Anthony Northrup
Developer Support Engineer
LEAD Technologies, Inc.
#6
Posted
:
Monday, December 10, 2018 12:35:18 PM(UTC)
Groups: Registered
Posts: 9
Thanks: 1 times
Something like that could happened.
The change worked in our product therefore this post can be marked as resolved. Thanks a lot again.
LEADTOOLS Support
Document
Document SDK Questions
Interpolation not working, image viewer html5.
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.