LEADTOOLS Support
Imaging
Imaging SDK Questions
How to create watermark(text) in WebImageViewer?
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, August 17, 2010 3:20:53 AM(UTC)
Groups: Registered
Posts: 5
Hi,
I want to add text to the image in WebImageViewer as watermark.
Have any examples?
Thanks!
#2
Posted
:
Tuesday, August 17, 2010 6:39:41 AM(UTC)
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)
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.
Walter Bates
Senior Support Engineer
LEAD Technologies, Inc.
LEADTOOLS Support
Imaging
Imaging SDK Questions
How to create watermark(text) in WebImageViewer?
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.