[java] extracting a part from an image

Started by
5 comments, last by mill-o 22 years, 1 month ago
what''s the EASIEST way of creating an image from an image? as in i want to extract an image with the coords x, y, width and height from a specified image.
_______________________ http://mill.3dfxsweden.net
Advertisement
java.awt.image.CropImageFilter

sweet
_______________________ http://mill.3dfxsweden.net
Excuse my ignoracne but, how do you use the CropImageFilter?
thanks.
Excuse my ignorance but, how do you use the CropImageFilter?
thanks.
Hell even easier:

BufferedImage bi2 = bi1.getSubImage(int x, int y, int width, int height);

- Shane
yah, that''s what i ended up using
_______________________ http://mill.3dfxsweden.net

This topic is closed to new replies.

Advertisement