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

1 Ansicht (letzte 30 Tage)
Kevin
Kevin am 15 Mär. 2017
Bearbeitet: Kevin am 16 Mär. 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

Akzeptierte Antwort

Jan
Jan am 16 Mär. 2017
I'd give cpdf a try. It is now available for free.
  1 Kommentar
Kevin
Kevin am 16 Mär. 2017
Bearbeitet: Kevin am 16 Mär. 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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

KSSV
KSSV am 16 Mär. 2017
  1 Kommentar
Kevin
Kevin am 16 Mär. 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.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Performance and Memory finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by