This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Converting Tiff to PDF" Watch "Converting Tiff to PDF" New topic
Author

Converting Tiff to PDF

Venkat Perumalla
Greenhorn

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
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
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.

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

Joined: Mar 22, 2005
Posts: 41131
    
  45
Might you be looking for something like Tiff2Pdf?


Ping & DNS - my free Android networking tools app
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15960
    
  19

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
Venkat Perumalla
Greenhorn

Joined: Sep 19, 2006
Posts: 20
Thanks i got it
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Converting Tiff to PDF
 
Similar Threads
iText: pdf conversion into other formats
How to convert PDF file to an image files using java.
converting post script and pdf files to tiff
TIFF to PDF
Java API to convert PDF to tiff