https://bugs.documentfoundation.org/show_bug.cgi?id=157732

Stéphane Guillou (stragu) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |99746
            Version|7.5.0.3 release             |Inherited From OOo
            Summary|Failed to convert pdf file  |LO hangs on specific PDF
                   |to png file using command   |import (Draw GUI and
                   |line                        |command line conversion)
           Keywords|                            |filter:pdf
          Component|LibreOffice                 |filters and storage

--- Comment #5 from Stéphane Guillou (stragu) 
<[email protected]> ---
I tested with:

libreoffice7.6 --headless --convert-to png renamed.pdf

Indeed, the process hangs. I stopped it after three minutes.
But I was able to use the same command on other sample PDFs (single-page and
multi-page).

This kind of conversion should work, at least for the first page:
https://ask.libreoffice.org/t/convert-total-pdf-pages-into-images-command-line/5377
https://stackoverflow.com/questions/41802507/how-to-convert-pdf-files-to-jpg-with-soffice-command
For converting all pages, see this Ask.LO question, which suggests an
imageMagick option:
https://ask.libreoffice.org/t/use-soffice-to-convert-from-doc-to-png-images/41621

So the issue lies in this particular sample file.
LO also hangs on importing the PDF into Draw.

Version: 7.6.2.1 (X86_64) / LibreOffice Community
Build ID: 56f7684011345957bbf33a7ee678afaf4d2ba333
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Same in OOo 3.3, so inherited.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=99746
[Bug 99746] [META] PDF import filter in Draw
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to