Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Clone A BufferedImage ?

Reply
Thread Tools

Clone A BufferedImage ?

 
 
M Smith
Guest
Posts: n/a
 
      04-03-2004
Hi i would like to clone a buffered image, does anybody know how to do this
?

Cheers


 
Reply With Quote
 
 
 
 
Ryan Stewart
Guest
Posts: n/a
 
      04-04-2004
"M Smith" <(E-Mail Removed)> wrote in message
news:c4n9p9$5q0$(E-Mail Removed)...
> Hi i would like to clone a buffered image, does anybody know how to do

this
> ?
>
> Cheers
>

Well, as you can both get and set the value of each pixel of a
BufferedImage, you could just create a new image of the same size and copy
the value of each pixel over. There may be a better way.


 
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
How to clone a java.awt.BufferedImage ? oliv@linuxmail.org Java 2 03-11-2007 06:48 PM
To clone or not to clone.. lordy Java 3 07-07-2006 04:30 PM
Read PPM images as BufferedImage hz010c1877 Java 1 08-14-2003 08:32 PM
Copying BufferedImage Eel Java 2 07-10-2003 10:15 PM
DirectByteBuffer and BufferedImage for image acquisition Peter Szymanski Java 0 07-09-2003 12:29 PM



Advertisments