cut and paste a portion of image using region of interest

Posted on 2005-05-14
Last Modified: 2008-02-01
import an image, select a portion of image, cut or copy that part of image and paste it in new page
Question by:angielim
    LVL 86

    Expert Comment

    And your question is..?

    Expert Comment

    Import Image :
    File f = new File(path);
                BufferedImage image =;

    Cut an Image by taking subimage:
    image = image.getSubimage(x, y, width, height);
    LVL 2

    Accepted Solution

    LVL 2

    Expert Comment


    Author Comment

    Hi all,

    I need to select a portion of image, cut or copy it, and paste it on the new window using java,
    please help me out to do this.


    LVL 2

    Expert Comment

    Try the links I posted.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Suggested Solutions

    Title # Comments Views Activity
    Java MSI Solution 3 51
    sameEnds challenge 25 55
    instanceof  operator in java 26 54
    java  and programming certification ? 4 25
    Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
    Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
    This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
    This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now