Link to home
Start Free TrialLog in
Avatar of asukai
asukai

asked on

Copy of a BufferedImage object

How can I get exact copy of a BufferedImage object?
Also, can anyone please tell me the differences and advantages between BufferedImage and Image? When is the appropriate time to use the BufferedImage?

Thanx
ASKER CERTIFIED SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dpetersen112
dpetersen112

getSubimage() returns a pointer to the data of the existing BI. Making a change to either changes both. I need a separate BI so that I can make changes (e.g., color) to one and not affect the other.