I want to cut an image in java into several pieces with an ImageBuffer. When I try to do this with this code it cut's the image in 32 pieces (wich I want) but it doesn't change position and gives me 32-times te same image.

I want 32 different pictograms from one imagefile (size of imagefile 800 x 400).

1. Read the API for getSubImage(...) and you'll find that it shares the same data array as the original image. Any drawing you do to on the subimage is going to affect the original image.
2. Read the API for the overload of Graphics#drawImage that you use (the one that takes 8 int arguments). The significance of each of those arguments is clearly defined.

But, if you're dealing with an image that doesn't change, why not just use subimages obtained with relevant coordinates? There's really no point in getting a subimage from the top-left corner and then trying to draw something over it.