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

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Tuesday, August 17, 2010 3:20:53 AM(UTC)
vostro0120

Groups: Registered
Posts: 5


Hi,

I want to add text to the image in WebImageViewer as watermark.

Have any examples?

Thanks!

 

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 : Tuesday, August 17, 2010 6:39:41 AM(UTC)
vostro0120

Groups: Registered
Posts: 5


Otherwise,I have used "WebThumbnailViewer1.ViewerID = WebImageViewer1".

So, WebImageViewer1.ImageInfo.Url=="",and,

WebImageViewer1.ImageInfo.CacheFileName=="".

How can I konw the "WebImageViewer1.ImageInfo.Url" from "WebThumbnailViewer1"??

e.g.WebThumbnailViewer1.Add("resources\\temp\\image.jpg",1,1);

 
#3 Posted : Tuesday, August 17, 2010 12:02:22 PM(UTC)

Walter  
Walter

Groups: Tech Support
Posts: 366

Thanks: 1 times
Was thanked: 4 time(s) in 4 post(s)

Hello,

Neither the WebImageViewer nor the WebThumbnailViewer have the ability themselves to watermark images. This has to be done either by creating annotations over the image to create the illusion of a watermark, or you have to change the image data itself. With the web controls, you would have to change this in the file itself.

I'm attaching a small sample project that illustrates how you could use the combine command with either a watermark image that is generated on the fly, or combine an image from an existing file. This example will decompress the image in the file, and then watermark the image. The image would have to be recompressed out to the hard-drive, and then the file location passed to the viewer for display in the browser.
File Attachment(s):
WatermarkDemo.zip (955kb) downloaded 40 time(s).
Walter Bates
Senior Support Engineer
LEAD Technologies, Inc.
LEAD Logo
 
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.088 seconds.