Is it possible to get info of PDF file in MATLAB?

6 visualizzazioni (ultimi 30 giorni)
Hi everyone,
Just wondering if it is possible for MATLAB to read a PDF file and return some information (eg. number of pages, page size, etc)?
I am open to the idea of buying extra toolbox from MathWorks. Or buying some software from another company (eg. Adobe or other companies) and call it from MATLAB.
Any idea is welcome.
Kevin

Risposta accettata

Jan
Jan il 16 Mar 2017
I'd give cpdf a try. It is now available for free.
  1 Commento
Kevin
Kevin il 16 Mar 2017
Modificato: Kevin il 16 Mar 2017
Very nice tool indeed. It is a bit pricey ($400) for commercial use. But you get what you pay for.
Second thought. I wish CPDF will return textual content of a page (and its corresponding font, font size, ...).
Thank you very much.

Accedi per commentare.

Più risposte (1)

KSSV
KSSV il 16 Mar 2017
  1 Commento
Kevin
Kevin il 16 Mar 2017
Great. I check it out.
I can get the number of pages by this command,
>> pdfdoc.getNumberOfPages
However, I still don't know how to get page size.

Accedi per commentare.

Categorie

Scopri di più su Environment and Settings in Help Center e File Exchange

Tag

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by