pdfinfo 1.0.0

A wrapper around the pdfinfo command line tool, to extract meta data from pdf's


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

pdfinfod

pdfinfod is a wrapper around the linux util pdfinfo. Calling the extractPdfInfo function as shown below returns a struct instance of type PdfInfo containing the data as listed below. If the pdf file passed doesn't exist or pdfinfo is not in the PATH an exception is thrown.

module pdfinfod;

struct PdfInfo {
	string title;           
	string author;          
	string producer;        
	string creator;        
	SysTime creationDate;    
	SysTime modDate;         
	bool custom_metadata; 
	bool metadata_stream; 
	bool tagged;          
	bool userProperties;  
	bool suspects;        
	string form;            
	bool javaScript;      
	long pages;           
	bool encrypted;       
	string page_size;       
	double page_rot;        
	long sizeInBytes;
	bool linearized;        
	bool optimized;       
	string pdf_version;     
}

PdfInfo extractPdfInfo(string pdfFilename)
Authors:
  • Robert Schadek
Dependencies:
none
Versions:
2.0.0 2022-Apr-13
1.0.0 2022-Apr-13
~master 2022-Apr-13
Show all 3 versions
Download Stats:
  • 0 downloads today

  • 19 downloads this week

  • 72 downloads this month

  • 110 downloads total

Score:
1.1
Short URL:
pdfinfo.dub.pm