my dog learned polymorphism
The moose likes Beginning Java and the fly likes Image to subimages Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Image to subimages" Watch "Image to subimages" New topic

Image to subimages

SoSi Brook

Joined: Mar 26, 2006
Posts: 1
Hello everybody,

I wnat to know if I have a buffered image contains rectangles same as here:
How could I split this imge into subimages each contain one rectangle.

Thanks in advance for any help
Jeff Albertson
Ranch Hand

Joined: Sep 16, 2005
Posts: 1780
You can use java.awt.image.BufferedImage's getSubimage

There is no emoticon for what I am feeling!
I agree. Here's the link:
subject: Image to subimages
jQuery in Action, 3rd edition