i have an buffered image and i want to draw only a small peice of the image not the whole thing.
So i used.
g.drawImage(myImage,0, 0, 32, 32,null);
i looked at the Java Doc and found out that im scaleing my image.
Does anyone know how i would just take the first 32x32 pixels of my image?
This post has been edited by giuseppe105: 24 October 2010 - 07:59 PM

New Topic/Question
Reply




MultiQuote




|