Return to directory of Todd's CASA extensions

Returns the integer number of pages in a PDF by using pdfinfo.


au.countPagesInPDF(pdf, pdfinfo='pdfinfo')
  • pdf: the name of the PDF file
  • pdfinfo: the path to the pdfinfo executable


CASA <3>: au.countPagesInPDF('test85.pdf')
  Out[3]: 22

-- ToddHunter - 2014-04-07

This topic: ALMA > TWikiUsers > ToddHunter > CasaExtensions > CountPagesInPDF
Topic revision: 2014-04-07, ToddHunter
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding NRAO Public Wiki? Send feedback