You are not logged in.

#1 2023-07-09 18:35:37

Artyom
Member
Registered: 2017-03-27
Posts: 70

PDFtricks split option not working?

Hi!

I've been using PDFTricks for a while to compress and merge PDF files.
Today I wanted to split a file but it doesn't work.
When I try to split all the pages or just select a range, the software just asks me for a name and a save folder without asking me which range to extract. In both cases nothing comes out.
Only separating colour pages seems to give a result, but as I don't have any files mixing colour and monochrome I haven't been able to try whether it really works.
Any ideas?

Thanks!

Offline

#2 2023-07-10 18:25:32

teckk
Member
Registered: 2013-02-21
Posts: 588

Re: PDFtricks split option not working?

When I try to split all the pages or just select a range

Looks like it uses ghostscript. Until you get that fixed use ghostscript.

Couple of examples:

Extract page 1-3.

gs -sDEVICE=pdfwrite -dNOPAUSE -dBATCH -dSAFER -dFirstPage=1 -dLastPage=3 -sOutputFile=out.pdf in.pdf

Combine pdf files.

gs -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=Output.pdf -dBATCH 1.pdf 2.pdf 3.pdf

gs -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=Output.pdf -dBATCH {1..11}.pdf

Bust pdf into images

gs -dNOPAUSE -sDEVICE=jpg -r200 -dJPEGQ=60 -sOutputFile=document-%02d.jpg "MyFile.pdf" -dBATCH

Etc.

Offline

#3 2023-07-12 14:24:25

Artyom
Member
Registered: 2017-03-27
Posts: 70

Re: PDFtricks split option not working?

Thanks for the advices.
I don't know if it's worth creating an issue on PDFTricks github since it seems abandoned.

Offline

Board footer

Powered by FluxBB