Guys,
Can someone please help me to write a java code which will take the user input (from the keyboard) that can be added on top an image?
Thanks!
Printable View
Guys,
Can someone please help me to write a java code which will take the user input (from the keyboard) that can be added on top an image?
Thanks!
You're going to have to be more specific. Are you talking about a GUI that simply displays an image with some text on top? Are you talking about a command-line program that takes an image file and inserts some text into the file? A combination of both? What have you tried? Where are you stuck? Which part of this are you confused about?
It is a set of images from which one image has to be selected. Using a command line program, the user input should be inserted onto the selected image. So far, I could create a gallery with a set image, but none of the images can be edited.
Thanks for looking into this problem.
Well, you can create a BufferedImage, get the Graphics from it, draw whatever image you want into it, then do any other drawing you want with the Graphics. Then output the BufferedImage to a file.
Thanks! I will look into that :(whew):