1

How can be detected page size (height x width) with qpdf?

I know that it could be that size is something relative, but at least I could know ratio between height and width (eg. a3, a4).

Michele Carino
  • 1,043
  • 2
  • 11
  • 25
  • 1
    Thanks, I'm now using the --json command to get a json report and then parsing for all of the objects with type /Page, given this there is the a /MediaBox property dealing with the informations – Michele Carino Jun 20 '21 at 11:40
  • 1
    Thanks @KJ, you have directed me to the solution, I will be glad to let you write the answer with the --json and pageposfrom1 options. – Michele Carino Jun 21 '21 at 07:39

0 Answers0