hi all
i am doing a project in java where i need to convert 10 jpeg images into a single tiff image..conversion of single jpeg image to single tiff is happening but embedding all the 10 jpeg images into a single tiff is not happening..i hav tried out with single image conversion..
My code is
***********************
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import javax.imageio.ImageIO;
public class Convert
{
public static void main(String[] args)
{
File in = new File("b.jpeg");
File out = new File("b.tiff");
BufferedImage bufi;
try
{
bufi = ImageIO.read(in);
ImageIO.write(bufi, "tiff", out);
}
catch (IOException ex)
{
ex.printStackTrace();
}
}
}
*****************************************
can anyone pls help me how to do that
thanx in advance