Multi-page tiff to PDF conversion

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Multi-page tiff to PDF conversion

Prabhakaran Subramanian
Hi,

If Open Office supports Multi-page tiff to PDF conversion?
I just read some articles and it shows it was not supported.

Thanks,
PS.
Reply | Threaded
Open this post in threaded view
|

RE: Multi-page tiff to PDF conversion

Dennis E. Hamilton
I don't understand the question.

Do you mean a TIFF that has multiple images in it, like one for a FAX transmission?

Or do you mean a single TIFF image that is longer than what fits on a single page?

Are you saying you can get those into a writer document but the PDF Export fails?  Or the same thing into a Draw document?  Or something else?

 - Dennis

> -----Original Message-----
> From: Prabhakaran Subramanian [mailto:[hidden email]]
> Sent: Friday, December 18, 2015 12:55
> To: [hidden email]
> Subject: Multi-page tiff to PDF conversion
>
> Hi,
>
> If Open Office supports Multi-page tiff to PDF conversion?
> I just read some articles and it shows it was not supported.
>
> Thanks,
> PS.


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Multi-page tiff to PDF conversion

Prabhakaran Subramanian
Yes. One TIFF has multiple pages. Example:
https://bz.apache.org/ooo/show_bug.cgi?id=9193  ( *sample multi-page fax in
TIFF format* <https://bz.apache.org/ooo/attachment.cgi?id=3581> (234.77 KB,
image/tiff)              ) like this.
In version 3.3, when i try to convert the same kind of M/Tiff file into
PDF, only the first page converted into PDF. Rest of the pages are not.

In the same article it says like below:

Unfortunately a multi-page TIFF only generates a "Slide1" tab for the first
page, and there is no sign of the other pages.


Just want to know, is this fixed in the latest version or any other options.


Thanks,

PS.


On Fri, Dec 18, 2015 at 3:28 PM, Dennis E. Hamilton <[hidden email]
> wrote:

> I don't understand the question.
>
> Do you mean a TIFF that has multiple images in it, like one for a FAX
> transmission?
>
> Or do you mean a single TIFF image that is longer than what fits on a
> single page?
>
> Are you saying you can get those into a writer document but the PDF Export
> fails?  Or the same thing into a Draw document?  Or something else?
>
>  - Dennis
>
> > -----Original Message-----
> > From: Prabhakaran Subramanian [mailto:[hidden email]]
> > Sent: Friday, December 18, 2015 12:55
> > To: [hidden email]
> > Subject: Multi-page tiff to PDF conversion
> >
> > Hi,
> >
> > If Open Office supports Multi-page tiff to PDF conversion?
> > I just read some articles and it shows it was not supported.
> >
> > Thanks,
> > PS.
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Multi-page tiff to PDF conversion

Rory O'Farrell
In reply to this post by Dennis E. Hamilton
On Fri, 18 Dec 2015 13:28:50 -0800
"Dennis E. Hamilton" <[hidden email]> wrote:

> I don't understand the question.
>
> Do you mean a TIFF that has multiple images in it, like one for a FAX transmission?
>
> Or do you mean a single TIFF image that is longer than what fits on a single page?
>
> Are you saying you can get those into a writer document but the PDF Export fails?  Or the same thing into a Draw document?  Or something else?
>
>  - Dennis

I have just made a PDF file from an 83 slide Impress presentation, with assorted illustrations - JPEG, TIFF and PNG.  I have previously made multipage Writer files containing assortments of TIFF, PNG and JPEG files.

Rory

>
> > -----Original Message-----
> > From: Prabhakaran Subramanian [mailto:[hidden email]]
> > Sent: Friday, December 18, 2015 12:55
> > To: [hidden email]
> > Subject: Multi-page tiff to PDF conversion
> >
> > Hi,
> >
> > If Open Office supports Multi-page tiff to PDF conversion?
> > I just read some articles and it shows it was not supported.
> >
> > Thanks,
> > PS.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>


--
Rory O'Farrell <[hidden email]>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: Multi-page tiff to PDF conversion

Dennis E. Hamilton
There is a form of single TIFF file that has multiple images, each for one
page, for a scanned document.  This is usually a TIFF/F holding all the
pages of a Fax transmission.

The question is how does AOO import one of those.

TENTATIVE RESPONSE:

Subra, this is probably not anything OpenOffice was designed for.  The
design point is to support import of graphical images in TIFF format, not
multi-page FAX documents.  You can see that in the OpenOffice 3.3 behavior.
You might look for TIFF utilities that will take apart one of those into
separate TIFF files or maybe into a Word document that you could then
process further in OpenOffice.

If you want a clear confirmation of support-or-not, either provide a
multi-page TIFF as an attachment on a Bugzilla issue or install the latest
version of Apache OpenOffice and satisfy yourself whether it works or not.
(Attachments don't work on mail to this list.)

 - Dennis

> -----Original Message-----
> From: Rory O'Farrell [mailto:[hidden email]]
> Sent: Friday, December 18, 2015 13:51
> To: [hidden email]
> Cc: 'Prabhakaran Subramanian' <[hidden email]>
> Subject: Re: Multi-page tiff to PDF conversion
>
> On Fri, 18 Dec 2015 13:28:50 -0800
> "Dennis E. Hamilton" <[hidden email]> wrote:
>
> > I don't understand the question.
> >
> > Do you mean a TIFF that has multiple images in it, like one for a FAX
> transmission?
> >
> > Or do you mean a single TIFF image that is longer than what fits on a
> single page?
> >
> > Are you saying you can get those into a writer document but the PDF
> Export fails?  Or the same thing into a Draw document?  Or something
> else?
> >
> >  - Dennis
>
> I have just made a PDF file from an 83 slide Impress presentation, with
> assorted illustrations - JPEG, TIFF and PNG.  I have previously made
> multipage Writer files containing assortments of TIFF, PNG and JPEG
> files.
>
> Rory
>
> >
> > > -----Original Message-----
> > > From: Prabhakaran Subramanian
> [mailto:[hidden email]]
> > > Sent: Friday, December 18, 2015 12:55
> > > To: [hidden email]
> > > Subject: Multi-page tiff to PDF conversion
> > >
> > > Hi,
> > >
> > > If Open Office supports Multi-page tiff to PDF conversion?
> > > I just read some articles and it shows it was not supported.
> > >
> > > Thanks,
> > > PS.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]
> > For additional commands, e-mail: [hidden email]
> >
> >
>
>
> --
> Rory O'Farrell <[hidden email]>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Multi-page tiff to PDF conversion

Johnny Rosenberg
In reply to this post by Prabhakaran Subramanian
2015-12-18 21:55 GMT+01:00 Prabhakaran Subramanian <
[hidden email]>:

> Hi,
>
> If Open Office supports Multi-page tiff to PDF conversion?
> I just read some articles and it shows it was not supported.
>
> Thanks,
> PS.
>

Apache OpenOffice is probably not designed to do such tasks, but there are
other applications out there that are. If using the command line isn't a
problem, there is tiff2pdf.
Install it easily on the following operating systems as root.

Debian or Ubuntu:
apt-get install ghostscript libtiff-tools

CentOs or Red Hat:
yum install ghostscript libtiff

Fedora:
yum install ghostscript libtiff-tools

Convert input.tiff to output.pdf:
tiff2pdf -o output.pdf input.tiff

More information:
man tiff2pdf



Kind regards

Johnny Rosenberg
Reply | Threaded
Open this post in threaded view
|

Re: Multi-page tiff to PDF conversion

Prabhakaran Subramanian
In reply to this post by Dennis E. Hamilton
Thank you. I was not tried with the latest version.
Instead, i used itextpdf library to covert Multi Page TIFF file to PDF and that looks good (That converts all the pages into PDF).

Thanks,
PS.



> On Dec 19, 2015, at 12:28 PM, Dennis E. Hamilton <[hidden email]> wrote:
>
> There is a form of single TIFF file that has multiple images, each for one
> page, for a scanned document.  This is usually a TIFF/F holding all the
> pages of a Fax transmission.
>
> The question is how does AOO import one of those.
>
> TENTATIVE RESPONSE:
>
> Subra, this is probably not anything OpenOffice was designed for.  The
> design point is to support import of graphical images in TIFF format, not
> multi-page FAX documents.  You can see that in the OpenOffice 3.3 behavior.
> You might look for TIFF utilities that will take apart one of those into
> separate TIFF files or maybe into a Word document that you could then
> process further in OpenOffice.
>
> If you want a clear confirmation of support-or-not, either provide a
> multi-page TIFF as an attachment on a Bugzilla issue or install the latest
> version of Apache OpenOffice and satisfy yourself whether it works or not.
> (Attachments don't work on mail to this list.)
>
> - Dennis
>
>> -----Original Message-----
>> From: Rory O'Farrell [mailto:[hidden email]]
>> Sent: Friday, December 18, 2015 13:51
>> To: [hidden email]
>> Cc: 'Prabhakaran Subramanian' <[hidden email]>
>> Subject: Re: Multi-page tiff to PDF conversion
>>
>> On Fri, 18 Dec 2015 13:28:50 -0800
>> "Dennis E. Hamilton" <[hidden email]> wrote:
>>
>>> I don't understand the question.
>>>
>>> Do you mean a TIFF that has multiple images in it, like one for a FAX
>> transmission?
>>>
>>> Or do you mean a single TIFF image that is longer than what fits on a
>> single page?
>>>
>>> Are you saying you can get those into a writer document but the PDF
>> Export fails?  Or the same thing into a Draw document?  Or something
>> else?
>>>
>>> - Dennis
>>
>> I have just made a PDF file from an 83 slide Impress presentation, with
>> assorted illustrations - JPEG, TIFF and PNG.  I have previously made
>> multipage Writer files containing assortments of TIFF, PNG and JPEG
>> files.
>>
>> Rory
>>
>>>
>>>> -----Original Message-----
>>>> From: Prabhakaran Subramanian
>> [mailto:[hidden email]]
>>>> Sent: Friday, December 18, 2015 12:55
>>>> To: [hidden email]
>>>> Subject: Multi-page tiff to PDF conversion
>>>>
>>>> Hi,
>>>>
>>>> If Open Office supports Multi-page tiff to PDF conversion?
>>>> I just read some articles and it shows it was not supported.
>>>>
>>>> Thanks,
>>>> PS.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [hidden email]
>>> For additional commands, e-mail: [hidden email]
>>>
>>>
>>
>>
>> --
>> Rory O'Farrell <[hidden email]>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

HTML to PDF Conversion using OpenOffice 4.x

Prabhakaran Subramanian
In reply to this post by Dennis E. Hamilton
Hi,

We recently upgraded to OpenOffice 4.x, getting failed task error when i try to convert html to PDF. Any help would be appreciated.
Not able to see this issue in OpenOffice 3.x

Logs:
org.artofsolving.jodconverter.office.OfficeException: task failed

stack trace:org.artofsolving.jodconverter.office.OfficeException: task failed
at org.artofsolving.jodconverter.office.PooledOfficeManager.execute(PooledOfficeManager.java:96)
at org.artofsolving.jodconverter.office.ProcessPoolOfficeManager.execute(ProcessPoolOfficeManager.java:78)
at org.artofsolving.jodconverter.OfficeDocumentConverter.convert(OfficeDocumentConverter.java:78)
at org.artofsolving.jodconverter.OfficeDocumentConverter.convert(OfficeDocumentConverter.java:69)
Caused by: java.util.concurrent.CancellationException
at java.util.concurrent.FutureTask.report(FutureTask.java:121)
at java.util.concurrent.FutureTask.get(FutureTask.java:206)
at org.artofsolving.jodconverter.office.PooledOfficeManager.execute(PooledOfficeManager.java:85)
... 131 more

Thanks,
PS.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: HTML to PDF Conversion using OpenOffice 4.x

Johnny Rosenberg
2018-04-21 5:00 GMT+02:00 Prabhakaran Subramanian <
[hidden email]>:

> Hi,
>
> We recently upgraded to OpenOffice 4.x, getting failed task error when i
> try to convert html to PDF. Any help would be appreciated.
> Not able to see this issue in OpenOffice 3.x
>

Did you try the exact same file with Apache OpenOffice 3? Maybe the file is
corrupted.
Is it important that you can do this in Apache OpenOffice? There are other
tools for it, such as wkhtmltopdf, which I've used a lot in the past, when
some companies sent me invoices or bills in html or mht format, which they
don't seem to do anymore, though.



Kind regards

Johnny Rosenberg



>
> Logs:
> org.artofsolving.jodconverter.office.OfficeException: task failed
>
> stack trace:org.artofsolving.jodconverter.office.OfficeException: task
> failed
> at org.artofsolving.jodconverter.office.PooledOfficeManager.
> execute(PooledOfficeManager.java:96)
> at org.artofsolving.jodconverter.office.ProcessPoolOfficeManager.execute(
> ProcessPoolOfficeManager.java:78)
> at org.artofsolving.jodconverter.OfficeDocumentConverter.convert(
> OfficeDocumentConverter.java:78)
> at org.artofsolving.jodconverter.OfficeDocumentConverter.convert(
> OfficeDocumentConverter.java:69)
> Caused by: java.util.concurrent.CancellationException
> at java.util.concurrent.FutureTask.report(FutureTask.java:121)
> at java.util.concurrent.FutureTask.get(FutureTask.java:206)
> at org.artofsolving.jodconverter.office.PooledOfficeManager.
> execute(PooledOfficeManager.java:85)
> ... 131 more
>
> Thanks,
> PS.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>