Discussion:
Multi-page tiff to PDF conversion
Prabhakaran Subramanian
2015-12-18 20:55:05 UTC
Permalink
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.
Dennis E. Hamilton
2015-12-18 21:28:50 UTC
Permalink
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-----
Sent: Friday, December 18, 2015 12:55
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: users-***@openoffice.apache.org
For additional commands, e-mail: users-***@openoffice.apache.org
Prabhakaran Subramanian
2015-12-18 21:43:46 UTC
Permalink
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.
Post by 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-----
Sent: Friday, December 18, 2015 12:55
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.
Rory O'Farrell
2015-12-18 21:50:51 UTC
Permalink
On Fri, 18 Dec 2015 13:28:50 -0800
Post by 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
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
Post by Dennis E. Hamilton
-----Original Message-----
Sent: Friday, December 18, 2015 12:55
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.
---------------------------------------------------------------------
--
Rory O'Farrell <***@iol.ie>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-***@openoffice.apache.org
For additional commands, e-mail: users-***@openoffice.apache.org
Dennis E. Hamilton
2015-12-19 18:28:36 UTC
Permalink
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-----
Sent: Friday, December 18, 2015 13:51
Subject: Re: Multi-page tiff to PDF conversion
On Fri, 18 Dec 2015 13:28:50 -0800
Post by 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?
Post by Dennis E. Hamilton
Or do you mean a single TIFF image that is longer than what fits on a
single page?
Post by Dennis E. Hamilton
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?
Post by Dennis E. Hamilton
- 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
Post by Dennis E. Hamilton
-----Original Message-----
From: Prabhakaran Subramanian
Sent: Friday, December 18, 2015 12:55
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: users-***@openoffice.apache.org
For additional commands, e-mail: users-***@openoffice.apache.org
Prabhakaran Subramanian
2015-12-28 17:26:38 UTC
Permalink
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.
Post by 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.
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-----
Sent: Friday, December 18, 2015 13:51
Subject: Re: Multi-page tiff to PDF conversion
On Fri, 18 Dec 2015 13:28:50 -0800
Post by 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?
Post by Dennis E. Hamilton
Or do you mean a single TIFF image that is longer than what fits on a
single page?
Post by Dennis E. Hamilton
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?
Post by Dennis E. Hamilton
- 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
Post by Dennis E. Hamilton
-----Original Message-----
From: Prabhakaran Subramanian
Sent: Friday, December 18, 2015 12:55
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: users-***@openoffice.apache.org
For additional commands, e-mail: users-***@openoffice.apache.org
Prabhakaran Subramanian
2018-04-21 03:00:47 UTC
Permalink
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: users-***@openoffice.apache.org
For additional commands, e-mail: users-***@openoffice.apache.org
Johnny Rosenberg
2018-04-21 07:09:40 UTC
Permalink
2018-04-21 5:00 GMT+02:00 Prabhakaran Subramanian <
Post by Prabhakaran Subramanian
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
Post by Prabhakaran Subramanian
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.
---------------------------------------------------------------------
Johnny Rosenberg
2015-12-19 23:57:26 UTC
Permalink
2015-12-18 21:55 GMT+01:00 Prabhakaran Subramanian <
Post by 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.
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
Loading...