473,230 Members | 1,366 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,230 software developers and data experts.

converting 10 jpeg images to into a single tiff

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;
bufi = ImageIO.read(in);
ImageIO.write(bufi, "tiff", out);
catch (IOException ex)

can anyone pls help me how to do that
thanx in advance
May 3 '08 #1
2 4932
296 Expert 100+

Sounds to me like you need to create a new image and copy the jpeg's into that one, if that made sence...

Need more info? Let us know
May 6 '08 #2
1,216 Expert 1GB
Have you tried to use ImageWriter?
May 6 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

by: frankenberry | last post by:
I have multi-page tiff files. I need to extract individual frames from the multi-page tiffs and save them as single-page tiffs. 95% of the time I receive multi-page tiffs containing 1 or more black...
by: Albert Greinöcker | last post by:
hi ng, I have a question concerning image processing in .NET: How can I open a jpeg with a tiff-header in c# (which means the file has the extension .tif, but contains jpeg-compressed data)?...
by: David Lauberts | last post by:
Hi Wonder if someone has some words of wisdom. I have a access 2002 form that contains 2 graph objects that overlay each other and would like to export them as a JPEG to use in a presentation....
by: usao | last post by:
Does anyone know where I can find C subroutines to read JPEG and/or TIFF files into 2-dimensional C arrays?
by: Imtiaz | last post by:
Hi, I have two JPEG Images. Now I wanted to merge them into one image. I am trying to use Image.SaveAdd to do this. But it is throwing an exception "Invalid parameter used." Following is the...
by: Pushp | last post by:
Hello friends, Can any body tell me the sample code to convert a Tiff image to a Gif or Jpeg format. The Resolution of picture is a big concern keeping in mind. Hope to get the response...
by: Krakatioison | last post by:
I've seen once program which was able to convert any url to JPG file. Once I tried it on cnn.com website and it created the nice jpg, even that the page was scrollable, so it was not using...
by: sophie_newbie | last post by:
Hey guys, As part of a college project I'm trying to write a script to convert TIFF images downloaded from the US patent office site, www.uspto.gov. The tiff images are encoded using CCITT...
by: Victory | last post by:
Hi, I need to know the compression type of jpeg (jpg) files. I am using the System.Drawing.Imaging and loading the file using an Image object. The next thing i do, is to examine the propertyItems...
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.