You might also want to take a look here: http://java.sun.com/produc
Main Topics
Browse All TopicsHi Experts,
I am looking for Java-API's OR any sample applications to combine TIFF format file + PDF file = results in PDF / TIFF.
(I am using for Java Stand-alone application).
1. TIFF + PDF --> PDF OR
2. TIFF + PDF --> TIFF
you help and comments will be appreciated..
Thank you
R.K
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
You might also want to take a look here: http://java.sun.com/produc
The above link is part of the Java Media API: http://java.sun.com/produc
Here's a quick example I cobbled together.
// MMcDougall
//
// Example: Use JAI to read in files a tiff and a jpeg file, combinet
// them and write out a jpeg file
//
//
// For the example to work, you need to get a pair of files
// (tiff and jpeg respectively), and name them appropriately
//
// ../images/jello.tif
// ../images/clown800.jpg
//
//
import java.awt.image.RenderedIma
import java.io.File;
import java.io.FileOutputStream;
import javax.media.jai.JAI;
public class TestCase {
final static String currDir = System.getProperty( "user.dir" ) + File.separator + "Images" + File.separator;
final static String inputFile1 = currDir + "jello.tif";
final static String inputFile2 = currDir + "clown800.jpg";
final static String outputFile = currDir + "mixed.jpg";
public static void main(String[] args) {
RenderedImage img1;
RenderedImage img2;
RenderedImage mixed;
System.out.println(currDir
try {
System.out.println("Readin
img1 = JAI.create("fileload", inputFile1);
System.out.println("Readin
img2 = JAI.create("fileload", inputFile2);
System.out.println("Combin
RenderedImage dst = (RenderedImage)JAI.create(
System.out.println("writin
FileOutputStream stream = new FileOutputStream(outputFil
JAI.create("encode", dst, stream, "JPEG", null);
JAI.create("filestore", dst, outputFile, "JPEG", null);
}
catch( Exception x) {
System.out.println("Unexpe
x.printStackTrace();
}
}
}
Hi all,
Thanks for your suggestions, actually i have found the solution @ http://itextpdf.sourceforg
So any way thanx for suggestions.
R.K
Community Support: http://www.experts-exchang
Business Accounts
Answer for Membership
by: girionisPosted on 2004-08-12 at 05:15:57ID: 11782920
Have a look here: http://www.geocities.com/m arcoschmid t.geo/java -libraries - pdf.html