wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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 present....now 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: 41017
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: 19649

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: http://aspose.com/file-tools
subject: Combine Buffered Images
Similar Threads
Why isn't my image showing up?
combinine 2 buffered images
combining 2 buffered images
Jpeg images not proper in MAC
Combine multiple images with mosaic JAI