dcsimg
combining of 3 jpegs as one
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Ramu_Allanki
Posted On:   Tuesday, April 10, 2001 02:35 AM

I have 3 jpegs, need to combine them as one.
How to increase the size of JPEG.
I am not using neither applet nor frame.
offscreen images.

Re: combining of 3 jpegs as one

Posted By:   AlessandroA_Garbagnati  
Posted On:   Tuesday, April 10, 2001 08:59 AM

Hi,

Well, without using any special graphic effect, what you can do is create a new image of the requested size and then 'draw' in it the three jpegs.

Something like this:

BufferedImage newImage = new BufferedImage(x,y,w,h);

Graphics biGC = newImage.getGraphics();

biGC.drawImage(, x, y, w, h, null);

biGC.drawImage(, x, y, w, h, null);

biGC.drawImage(, x, y, w, h, null);
About | Sitemap | Contact