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

6 次查看(过去 30 天)
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

采纳的回答

Jan
Jan 2017-3-16
I'd give cpdf a try. It is now available for free.
  1 个评论
Kevin
Kevin 2017-3-16
编辑:Kevin 2017-3-16
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.

请先登录,再进行评论。

更多回答(1 个)

KSSV
KSSV 2017-3-16
  1 个评论
Kevin
Kevin 2017-3-16
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by