One big texture file?

Hey guys,

I have a png image that has all the sqaure textures i require. I want to know if it is possible to make smaller images from one large one. I am sure this is possible but just cant seem to figure it out.

Here's what i have:

One .png with all textures in it.
-> Size is 64x64
-> Each individual texture is 16x16

Re: One big texture file?

Take a look at the BufferedImage classBufferedImage (Java Platform SE 6)
The image can be read by ImageIO into a BufferedImage, 4 BufferedImage objects can be created, a Graphics object can be created from these objects, and a portion of the original drawn to said Graphics object.