File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
jpg watermark servlet
Joined: Nov 23, 2010
Oct 16, 2012 12:38:54
I picked up this:
code for wattermark
Great, managed to get it work with some modifications.
1. I have no idea how this code:
File file = new File(req.getPathTranslated());
would get appropriate file at all ?
What should be putted into <IMG> tag to get that to work ?
In any case I think better method would be having listener that would listen for .jpg requests and hang there adding wattermark.
Any tip on that ?
Searchable nature photo gallery:
Nam Ha Minh
Joined: Oct 31, 2011
Oct 16, 2012 21:42:08
Don't really understand what you expect. Can you be more specific? What is the progress of your app? What do you expect?
Job Offer: Online working Java technical writing
subject: jpg watermark servlet
trouble with url connection
getting images from web
Java Code to Convert RTF to JPG
Create a picture/document with text from java program
adding .jpg file to a jar file
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013