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

14 visualizaciones (últimos 30 días)
Kevin
Kevin el 15 de Mzo. de 2017
Editada: Kevin el 16 de Mzo. de 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

Respuesta aceptada

Jan
Jan el 16 de Mzo. de 2017
I'd give cpdf a try. It is now available for free.
  1 comentario
Kevin
Kevin el 16 de Mzo. de 2017
Editada: Kevin el 16 de Mzo. de 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.

Iniciar sesión para comentar.

Más respuestas (1)

KSSV
KSSV el 16 de Mzo. de 2017
  1 comentario
Kevin
Kevin el 16 de Mzo. de 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.

Iniciar sesión para comentar.

Categorías

Más información sobre Workspace Variables and MAT-Files en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by