1

I want to create a simple web app where I can drag an image in, and watermark the corner with the given text. Where should I start for something like this?

I have knowledge in Java and Ruby.

closed as off topic by Jonathan Khoo, user1249, Arseni Mourzenko, Walter, ChrisF Nov 15 '11 at 11:19

Questions on Software Engineering Stack Exchange are expected to relate to software engineering within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here. If this question can be reworded to fit the rules in the help center, please edit the question.

  • Can you do the watermarking just in a simple Java program given the image and the text? – user1249 Sep 3 '11 at 3:31
  • @Thorbjorn No I can't – Matt Bettinson Sep 3 '11 at 3:34
3

Start with learning how to load the image, draw some text on it and save it again in a stand-alone program. The Oracle tutorial on 2D graphics would be a good starting point:

http://download.oracle.com/javase/tutorial/2d/images/index.html

When you have that running , see https://stackoverflow.com/questions/4890659/java-images-receiving-webserver for the "upload image in webserver" part. This can be a bit tricky.

Have fun.

2

If you do this with Ruby on Rails in combination with ImageMagick and the RMagick gem it shouldn't be more than a few lines of code to get the whole thing running.

Not the answer you're looking for? Browse other questions tagged or ask your own question.