This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes Combine Buffered Images Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic

Combine Buffered Images

manoswa kapoor

Joined: Oct 10, 2008
Posts: 12
i have created 1 buffered image in "Class A"..."Class B" calls this 'BufferedImage 1' and in "Class B" 'Buffered Image 2' is i want to combine these two images to create one image....please note these images are not loaded these are created in applet using canvas and converted to image object.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41137
Welcome to JavaRanch.

I don't understand how an image can "not be loaded" if it's in an "image object". Are these BufferedImage object or not? If not, in which format are they?

Also, what do you mean by "combine" - blend them into one? Put them next to one another? Something else?

Ping & DNS - my free Android networking tools app
manoswa kapoor

Joined: Oct 10, 2008
Posts: 12
yes these are BufferedImage objects....they are creted in canvas at run time.

yes i mean blend them into one
manoswa kapoor

Joined: Oct 10, 2008
Posts: 12
sorry i actually want image 2 to overlap image 1
Rob Spoor

Joined: Oct 27, 2005
Posts: 19655

Please Use One Thread Per Question. Let's continue in this thread.

How To Ask Questions How To Answer Questions
I agree. Here's the link:
subject: Combine Buffered Images
Similar Threads
Combine multiple images with mosaic JAI
Jpeg images not proper in MAC
Why isn't my image showing up?
combinine 2 buffered images
combining 2 buffered images