pdfinfo 2.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)
- 2.0.0 released 2 years ago
- burner/pdfinfod
- LGPL3
- Copyright © 2022, Robert Schadek
- Authors:
- Dependencies:
- none
- Versions:
-
2.0.0 2022-Apr-13 1.0.0 2022-Apr-13 ~master 2022-Apr-13 - Download Stats:
-
-
0 downloads today
-
36 downloads this week
-
110 downloads this month
-
5721 downloads total
-
- Score:
- 2.0
- Short URL:
- pdfinfo.dub.pm