• Advertisement

Archived

This topic is now archived and is closed to further replies.

[java] extracting a part from an image

This topic is 5845 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
Advertisement
Hell even easier:

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

- Shane

Share this post


Link to post
Share on other sites

  • Advertisement