P
P
pavlov872020-01-21 15:37:19
PHP
pavlov87, 2020-01-21 15:37:19

Is it possible to compress pdf using php?

Is it possible to compress the finished pdf file using php? (For example reduce images to the right size/quality and return an already resized pdf)
Without using third party APIs and libs that use third party APIs.
If not, then in what language do such operations usually take place?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Adamos, 2020-01-21
@pavlov87

Google ps2pdf (no, not ps2pdf.com, but this utility that works with GhostScript).
It is easily installed on any Linux server and with one command (you can do it out of puff) presses the proposed file according to the necessary requirements (-dPDFSETTINGS=/ebook, for example).

L
Leonid, 2020-01-21
@caballero

pdf is the final format, its compression or other processing is not expected

S
SagePtr, 2020-01-21
@SagePtr

Unless, irritate, reduce and "dragonize" back

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question