Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Java (http://www.velocityreviews.com/forums/f30-java.html)
-   -   Clone A BufferedImage ? (http://www.velocityreviews.com/forums/t132210-clone-a-bufferedimage.html)

M Smith 04-03-2004 09:19 PM

Clone A BufferedImage ?
 
Hi i would like to clone a buffered image, does anybody know how to do this
?

Cheers



Ryan Stewart 04-04-2004 02:16 AM

Re: Clone A BufferedImage ?
 
"M Smith" <pet@top99.freeserve.co.uk> wrote in message
news:c4n9p9$5q0$1@news6.svr.pol.co.uk...
> 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.




All times are GMT. The time now is 08:18 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.