Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

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.

share|improve this question

closed as off topic by Jonathan Khoo, Thorbjørn Ravn Andersen, MainMa, Walter, ChrisF Nov 15 '11 at 11:19

Questions on Programmers Stack Exchange are expected to relate to software development 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

2 Answers 2

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 http://stackoverflow.com/questions/4890659/java-images-receiving-webserver for the "upload image in webserver" part. This can be a bit tricky.

Have fun.

share|improve this answer

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.

share|improve this answer

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