• Post Reply Bookmark Topic Watch Topic
  • New Topic

Image concatenation in java at runtime  RSS feed

 
Robin Sharma
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys!

Consider this scenario:
I have four images -> One.gif(1) Two.gif(2) Three.gif(3) Four.gif(4)
Now. i want to concatenate these four images at runtime into, say
(1234) or (1324) etc, i.e., the new image should show 1234 or 1324. Is there some java api via which this can be done.

Thanks.
 
Jeff Albertson
Ranch Hand
Posts: 1780
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out BufferedImage and the 2D API. Your can use ImageIO of javax.imageio for reading and writing.

http://java.sun.com/docs/books/tutorial/2d/index.html
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!