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

6 vues (au cours des 30 derniers jours)
Kevin
Kevin le 15 Mar 2017
Modifié(e) : Kevin le 16 Mar 2017
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

Réponse acceptée

Jan
Jan le 16 Mar 2017
I'd give cpdf a try. It is now available for free.
  1 commentaire
Kevin
Kevin le 16 Mar 2017
Modifié(e) : Kevin le 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.

Connectez-vous pour commenter.

Plus de réponses (1)

KSSV
KSSV le 16 Mar 2017
  1 commentaire
Kevin
Kevin le 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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Environment and Settings dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by