필터 지우기
필터 지우기

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

조회 수: 17 (최근 30일)
Kevin
Kevin 2017년 3월 15일
편집: Kevin 2017년 3월 16일
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에서 Workspace Variables and MAT-Files에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by