Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Images

Reply
Thread Tools

Images

 
 
Francois Lionet
Guest
Posts: n/a
 
      05-02-2007
Hello all,

I hope I am not asking a stupid question, but I can't find how to to it. I
have Graphics2D, and I would like to create a BufferedImage from a rectangle
in the Graphics2D. I could not find any method that creates an image or a
buffered image in both graphics and graphics2d methods. Or have I missed
something obvious? If yes, sorry to bother you. But can you tell it to me
anyway ?

Francois


 
Reply With Quote
 
 
 
 
Andrew Thompson
Guest
Posts: n/a
 
      05-02-2007
Francois Lionet wrote:

>...I could not find any method that creates an image


See..
<http://java.sun.com/javase/6/docs/ap...e(java.net.URL
)>
..and its lesser reliable String overloaded variant.

Also all the methods based on..
java.awt.Toolkit.createImage()

>...or a
>buffered image


<http://java.sun.com/javase/6/docs/ap...ructor_summary
>


HTH

--
Andrew Thompson
http://www.athompson.info/andrew/

Message posted via JavaKB.com
http://www.javakb.com/Uwe/Forums.asp...neral/200705/1

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't view images on Google Images timopp@gmail.com Computer Support 5 12-30-2005 01:45 AM
DataList with RadioButtons + Images: How to click on the images to activate the radiobutton? Luis Esteban Valencia Muņoz ASP .Net 0 06-03-2005 03:22 PM
Track Images added to images folder and subfolders - send out email alerts ASP .Net 4 01-04-2005 10:01 PM
Tool for converting 12-bit TIFF images to 16-bit TIFF-images? Peter Frank Digital Photography 11 12-13-2004 02:41 AM
Can recover old images from SmartMedia card, but not recent images Stephen Stormont Digital Photography 9 10-20-2003 07:59 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57