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
Win a copy of
video training course this week in the
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?
PM Me If You Want to get Urgent Help on Java Programming
I agree. Here's the link:
subject: jpg watermark servlet
getting images from web
trouble with url connection
Java Code to Convert RTF to JPG
adding .jpg file to a jar file
Create a picture/document with text from java program
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015