Hi!
On XnView MP (v0.99.0 64bits) Batch convert, if you try to convert a multipage PDF file into something else (etc. JPG files), even after clicking "Convert all pages from multipage file" on "Output" Tab, the conversion only creates one file (the first page of the PDF file).
Thanks!
XnView MP batch convert bug (multipage PDF)
Moderators: XnTriq, helmut, xnview, Dreamer
-
- Author of XnView
- Posts: 44885
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: XnView MP batch convert bug (multipage PDF)
Thanks to your detailed description I can reproduce the problem.
Pierre.
-
- Author of XnView
- Posts: 44885
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: XnView MP batch convert bug (multipage PDF)
This problem is supposed to be fixed in XnView MP 0.99.1. Please check and confirm the bug fix here.
Pierre.
-
- Posts: 4
- Joined: Mon Sep 20, 2021 11:49 am
Re: XnView MP batch convert bug (multipage PDF)
I installed 0.99.1.x64
For multipage Tiff, it works. (multipage_tiff_example.tif)
For multipage PDF, it doesn't work. (multipage_tiff_example.pdf)
Bonus: I enclosed a sample multipage pdf ΨΗΔΨ7ΛΛ-ΚΜΓ.pdf with no graphics. The program cannot convert this pdf. I think because xnViewMP lacks the capability to rasterize each page of a PDF file to create an image per page and then convert it. Perhaps it can be done in the future (please
(I think that the current functionality of the batch convert of xnviewMP for PDFs is that it takes the first raster picture contained in the PDF and converts just that, nothing else. It doesn't rasterize each page and then converts it).
Cheers!
For multipage Tiff, it works. (multipage_tiff_example.tif)
For multipage PDF, it doesn't work. (multipage_tiff_example.pdf)
Bonus: I enclosed a sample multipage pdf ΨΗΔΨ7ΛΛ-ΚΜΓ.pdf with no graphics. The program cannot convert this pdf. I think because xnViewMP lacks the capability to rasterize each page of a PDF file to create an image per page and then convert it. Perhaps it can be done in the future (please
(I think that the current functionality of the batch convert of xnviewMP for PDFs is that it takes the first raster picture contained in the PDF and converts just that, nothing else. It doesn't rasterize each page and then converts it).
Cheers!
You do not have the required permissions to view the files attached to this post.
-
- Author of XnView
- Posts: 44885
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- XnThusiast
- Posts: 4180
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Re: XnView MP batch convert bug (multipage PDF)
It should, if the the first page is converted correctly the others should unless there is a recent bug, if the first page isn't converted correctly then you probably need to install Ghostscript if it is not already installed...
If Ghostscript is already installed, there is a compatibility issue with the version installed, and you should possibly test again with the latest version which Pierre has confirmed is compatible with 0.99.1. You of course need the x64 version.
-
- Posts: 4
- Joined: Mon Sep 20, 2021 11:49 am
Re: XnView MP batch convert bug (multipage PDF)
You are right.
If ghostscript 64bit is indeed installed, then the pdf gets converted (both multipage_tiff_example.pdf AND ΨΗΔΨ7ΛΛ-ΚΜΓ.pdf).
However, if "Use multiple CPU cores" is selected, only one page (random) from that PDF is converted. If that option is checked off, then all pages are converted ok.
Thanks for all your help!
If ghostscript 64bit is indeed installed, then the pdf gets converted (both multipage_tiff_example.pdf AND ΨΗΔΨ7ΛΛ-ΚΜΓ.pdf).
However, if "Use multiple CPU cores" is selected, only one page (random) from that PDF is converted. If that option is checked off, then all pages are converted ok.
Thanks for all your help!
-
- XnThusiast
- Posts: 4180
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
-
- Author of XnView
- Posts: 44885
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: XnView MP batch convert bug (multipage PDF)
yes a known issue, ghostscript can't be used in multithread...
Pierre.
-
- XnThusiast
- Posts: 4180
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Re: XnView MP batch convert bug (multipage PDF)
Is that really still the case in 2021?
Could a warning be displayed, that isn't obvious?
Or could you program to automatically disregard the multithread setting and only use one thread with PDFs etc.?
-
- Posts: 4
- Joined: Mon Sep 20, 2021 11:49 am
Re: XnView MP batch convert bug (multipage PDF)
If I could jump in, in case there's nothing that can be done about multithreading PDFs using GS, then just disregard the MT only for PDFs.
So, you could have a bunch of files for batch convert (including, but not limited to, PDFs), and respect MT for the other files and disregard MT just for the PDFs.
So, you could have a bunch of files for batch convert (including, but not limited to, PDFs), and respect MT for the other files and disregard MT just for the PDFs.
-
- Author of XnView
- Posts: 44885
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: XnView MP batch convert bug (multipage PDF)
Thanks to your detailed description I can reproduce the problem.
Pierre.