GeeCON Prague 2014*
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
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: 12792
    
    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: 42039
    
  64
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: 16101
    
  21

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
 
GeeCON Prague 2014
 
subject: Converting Tiff to PDF