aspose file tools*
The moose likes I/O and Streams and the fly likes How to Write Text over an existing image Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "How to Write Text over an existing image" Watch "How to Write Text over an existing image" New topic
Author

How to Write Text over an existing image

Vinoth Thirunavukarasu
Ranch Hand

Joined: Dec 18, 2008
Posts: 164

Hi,
How to Write Text over an existing image


Java Best Practices
Linux Best Practices
Amortization Calculator

Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42906
    
  69
See http://radio.javaranch.com/davo/2007/07/20/1184942077153.html for an example of how to draw text in a BufferedImage.

You can use the ImageIO.read and write methods to open and save BufferedImages.
Vinoth Thirunavukarasu
Ranch Hand

Joined: Dec 18, 2008
Posts: 164

Thanks for your reply.
I'm having list of template images and I have to create images using the template images as background.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42906
    
  69
The technique described in the article lets you do that; have you read it yet?
Vinoth Thirunavukarasu
Ranch Hand

Joined: Dec 18, 2008
Posts: 164

Yes Now I understood.
Thanks for your help.
I had posted the code at
webpage
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to Write Text over an existing image