Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Image to subimages

 
SoSi Brook
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everybody,

I wnat to know if I have a buffered image contains rectangles same as here:
http://nomatterwhat.jeeran.com/sample.JPG
How could I split this imge into subimages each contain one rectangle.

Thanks in advance for any help
 
Jeff Albertson
Ranch Hand
Posts: 1780
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use java.awt.image.BufferedImage's getSubimage
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic