Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

cut and paste a portion of image using region of interest

Posted on 2005-05-14
6
Medium Priority
?
655 Views
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
0
Comment
Question by:angielim
6 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 14001614
And your question is..?
0
 

Expert Comment

by:ZUBAIR
ID: 14001646
Import Image :
File f = new File(path);
            BufferedImage image = ImageIO.read(f);

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

Accepted Solution

by:
shah1d1698 earned 1000 total points
ID: 14004729
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 2

Expert Comment

by:shah1d1698
ID: 14004733
0
 

Author Comment

by:angielim
ID: 14006908
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.

regards,

0
 
LVL 2

Expert Comment

by:shah1d1698
ID: 14007633
Try the links I posted.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Suggested Courses
Course of the Month11 days, 22 hours left to enroll

564 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