File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Open Source Projects and the fly likes Converting Tiff to PDF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Converting Tiff to PDF" Watch "Converting Tiff to PDF" New topic

Converting Tiff to PDF

Venkat Perumalla

Joined: Sep 19, 2006
Posts: 20
Can you pls help me the code to convert TIFF to PDF Format,

Venkata Gawtham Perumalla<br />"Wise People Learn from their Mistakes Wiser People Learn from Others Mistakes"
Niranjan Deshpande
Ranch Hand

Joined: Oct 16, 2005
Posts: 1277
that gives even one more question...

"Can we do it using servelts/jsp technology?"

SCJP 1.4 - 95% [ My Story ] - SCWCD 1.4 - 91% [ My Story ]
Performance is a compulsion, not a option, if my existence is to be justified.
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
I have used the Apache FOP project to create PDFs in a servlet environment. According to this page the TIFF format is supported by FOP to some extent. According to this page, the popular iText toolkit supports TIFF graphics.

I suggest your first step should be getting a TIFF to PDF conversion working in a stand-alone application.

[ March 13, 2007: Message edited by: William Brogden ]
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
Might you be looking for something like Tiff2Pdf?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17417

TIFF is the standard image encoding scheme in PostScript, and PDF is a specialized type of PostScript. So if you are so inclined, you can take a TIFF, wrap it with the appropriate surrounding data, and emerge as a PDF.

Which is a pretty straightforward job for a servlet. You probably could do it as a JSP without too much trouble.

An IDE is no substitute for an Intelligent Developer.
Venkat Perumalla

Joined: Sep 19, 2006
Posts: 20
Thanks i got it
I agree. Here's the link:
subject: Converting Tiff to PDF
It's not a secret anymore!