Pajdeg  0.2.2
Pajdeg
Minimal example

From samples/minimal.c :

#include "../src/Pajdeg.h"
int main(int argc, char *argv[])
{
// want in and out files as arguments
if (argc != 3)
return -1;
// create, execute, and clean up pipe
PDPipeRef pipe = PDPipeCreateWithFilePaths(argv[1], argv[2]);
PDRelease(pipe);
return 0;
}

This example takes the input PDF (first argument) and pipes it through Pajdeg to the output path (second argument) without applying any tasks to it. (The resulting PDF will most likely differ from the first, binary-wise, but they will be identical when viewed in a PDF viewer.)

Next up is Adding metadata to a PDF