File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
It's not a secret anymore!