Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Convert TIFF to PDF - java api ?

Reply
Thread Tools

Convert TIFF to PDF - java api ?

 
 
Craig
Guest
Posts: n/a
 
      01-11-2007
Does anyone know of any java classes to convert TIFF files to PDF
format ?

 
Reply With Quote
 
 
 
 
Brandon McCombs
Guest
Posts: n/a
 
      01-12-2007
Craig wrote:
> Does anyone know of any java classes to convert TIFF files to PDF
> format ?
>


Do you want free or non-free? Open source or closed?

There are plenty that cost money and are closed source.
 
Reply With Quote
 
 
 
 
Andrew Thompson
Guest
Posts: n/a
 
      01-12-2007
Craig wrote:
> Does anyone know of any java classes to convert TIFF files to PDF
> format ?


What do you see as being the advantage of that?

For example - here is a way to 'convert' PNG to HTML.

<HTML>
<BODY>
<IMG SRC='theImage.png'>
</BODY>

You might note that this simply uses the target format (HTML)
to load and display the PNG. The HTML document adds
nothing to the image, no 'extra value', and the user cannot
'drag-select sections of text in the images' or do a 'find' etc.

(I doubt the TIFF to PDF conversion could go any
better, without OCR)

Andrew T.

 
Reply With Quote
 
Steven J. Sobol
Guest
Posts: n/a
 
      01-12-2007
In article <(E-Mail Removed) .com>, Andrew Thompson wrote:

> What do you see as being the advantage of that?


PDF is a much more common format, in terms of end-users that can
actually view files in the format in question.

> (I doubt the TIFF to PDF conversion could go any
> better, without OCR)


Well, you could just wrap a TIFF inside the PDF so people without the
ability to view TIFF files would be more likely to be able to open it.


--
Steve Sobol, Professional Geek ** Java/VB/VC/PHP/Perl ** Linux/*BSD/Windows
Victorville, California PGP:0xE3AE35ED

It's all fun and games until someone starts a bonfire in the living room.
 
Reply With Quote
 
Andrew Thompson
Guest
Posts: n/a
 
      01-12-2007
Steven J. Sobol wrote:
> In article <(E-Mail Removed) .com>, Andrew Thompson wrote:
>
> > What do you see as being the advantage of that?

>
> PDF is a much more common format, in terms of end-users that can
> actually view files in the format in question.


Rot! Most end-users are using a late model Windows*....

> > (I doubt the TIFF to PDF conversion could go any
> > better, without OCR)

>
> Well, you could just wrap a TIFF inside the PDF so people without the
> ability to view TIFF files would be more likely to be able to open it.


I don't see how you figure that.

* This Windows box has the 'Windows Picture and
Fax Viewer' and IE that can *both* read TIF's (& probably
a dozen other apps. on this sytem can handle them),
but *no* PDF support.

I'll bet 5 to 1 that the computers at my local internet cafe,
and 2 to 1 that (most of) the computers at the local library,
do not have PDF readers. (You might think a library would
have PDF readers, but Google offers HTML formatted versions
of most PDF's on the net, so why bother?)

Besides adding 20%+ (shrugs) to the file size, wrapping
a TIF in a PDF does *nothing* for it.

Andrew T.

 
Reply With Quote
 
Steven J. Sobol
Guest
Posts: n/a
 
      01-12-2007
In article <(E-Mail Removed). com>, Andrew Thompson wrote:

> I don't see how you figure that.


You can do it; I've done stuff like that before. You end up with a PDF
containing a graphic. It'll be big, but it'll be viewable.

> * This Windows box has the 'Windows Picture and
> Fax Viewer' and IE that can *both* read TIF's (& probably
> a dozen other apps. on this sytem can handle them),
> but *no* PDF support.


IE does TIFF? since when?




--
Steve Sobol, Professional Geek ** Java/VB/VC/PHP/Perl ** Linux/*BSD/Windows
Victorville, California PGP:0xE3AE35ED

It's all fun and games until someone starts a bonfire in the living room.
 
Reply With Quote
 
Andrew Thompson
Guest
Posts: n/a
 
      01-12-2007
Steven J. Sobol wrote:
> In article <(E-Mail Removed). com>, Andrew Thompson wrote:

.....
> > * This Windows box has the 'Windows Picture and
> > Fax Viewer' and IE that can *both* read TIF's (& probably
> > a dozen other apps. on this sytem can handle them),
> > but *no* PDF support.

>
> IE does TIFF? since when?


(shrugs vaguley) Since ten minutes ago, when I
drag/dropped one in IE (checks) 6.0.26 and saw
it rendered before my very eyes.

Hey, I never claimed IE tried to *create* a *file*
*association* for TIF's, but it can sure open them
(the first 'page' anyway). Do you have a smallish
multi-page TIF (or can find an URL) I can try?

Andrew T.

 
Reply With Quote
 
Steven J. Sobol
Guest
Posts: n/a
 
      01-12-2007
In article <(E-Mail Removed). com>, Andrew Thompson wrote:

> Hey, I never claimed IE tried to *create* a *file*
> *association* for TIF's, but it can sure open them
> (the first 'page' anyway). Do you have a smallish
> multi-page TIF (or can find an URL) I can try?


Probably. I'll try one over the weekend, actually - now I'm curious.
Did it open it in an embedded IE window or in Windows Picture Viewer?



--
Steve Sobol, Professional Geek ** Java/VB/VC/PHP/Perl ** Linux/*BSD/Windows
Victorville, California PGP:0xE3AE35ED

It's all fun and games until someone starts a bonfire in the living room.
 
Reply With Quote
 
Andrew Thompson
Guest
Posts: n/a
 
      01-12-2007
Steven J. Sobol wrote:
> In article <(E-Mail Removed). com>, Andrew Thompson wrote:
>
> > Hey, I never claimed IE tried to *create* a *file*
> > *association* for TIF's, but it can sure open them
> > (the first 'page' anyway). Do you have a smallish
> > multi-page TIF (or can find an URL) I can try?

>
> Probably. I'll try one over the weekend, actually - now I'm curious.
> Did it open it in an embedded IE window or in Windows Picture Viewer?


I am not sure I understand what you are asking.

When I dropped it in IE, it seemed to be 'all IE',
with the image appearing as if I had fetched an
URL for a 'raw' JPG or GIF (the image was scaled
to fit the size of the IE window, and centered) -
there was no hint of 'Windows Picture Viewer'-like
controls.

OTOH, when I double click TIF's, they open in
WPV - with the associated 'Zoom/Rotate/Print..'
buttons.

Andrew T.

 
Reply With Quote
 
SunnySue SunnySue is offline
Junior Member
Join Date: Mar 2011
Posts: 1
 
      03-02-2011
To respond to Craig’s original question: There is a commercial java library called jPDFImages that can do exactly that: Convert from Tiff files to PDF documents. For multi-page tiff files, the PDF documents created are also multipage. The library can read from an image file or from an inputstream (when serving a document from a J2EE server for instance).
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert PDF Files into PNG, JPEG, TIFF with Page & Text Extraction sherazam Java 0 02-24-2012 03:19 PM
Convert TIFF-YC to TIFF-RGB Rubaiyat of Omar Bradley Digital Photography 11 06-27-2010 04:23 PM
Tool for converting 12-bit TIFF images to 16-bit TIFF-images? Peter Frank Digital Photography 11 12-13-2004 02:41 AM
How can I convert Tiff image into multipage jpeg or pdf file. Ather Ali Shaikh ASP .Net 1 07-23-2004 02:32 PM
jpeg to tiff and back to tiff ARosenblat Digital Photography 6 01-09-2004 08:53 PM



Advertisments