Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

watermark in my webpage

 
shyamkumar bopannachengalaiah
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am developing a application where i am adding a watermark in my webpage .how can i do this by writing a servlet coding and doing it dynamically.

when i browsed in internet i got a servlet code for watermarking . but i am not able to crack the output in my webapplication can you help me in this.




how can i use this code to develop in adding watermark to my application



is there any other way to get watermark in webapplication dynamically
 
Balagopal Kannampallil
Ranch Hand
Posts: 136
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Please use the code tag correctly. It should be like [code], not <code>.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I haven't looked too closely, but it looks like you have most of it except for where you load a specific photo
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By "watermark in my webpage" do you mean a watermark on an image in a web page? If so, the code does most of that.

What does "i am not able to crack the output" mean - what are you trying to do, and what's the result?
 
shyamkumar bopannachengalaiah
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulf Dittmer wrote:By "watermark in my webpage" do you mean a watermark on an image in a web page? If so, the code does most of that.

What does "i am not able to crack the output" mean - what are you trying to do, and what's the result?


[quote sir from the code i had given i dont know where to insert my file in the code to get the watermark, and i am not able to how use the code to get the water mark in my application.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, the code is a bit strange, but the image file to be watermarked is specified in the "new File" and "new ImageIcon" constructors.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic