SYNOPSISpodofocolor [converter] [inputfile] [outpufile]
DESCRIPTIONpodofocolor is one of the command line tools from the PoDoFo library that provide several useful operations to work with colors in PDF files. It can parse and/or modify all colors or colorspaces in a PDF file. The modifications can be defined via C++ or a Lua script. Custom conversions like convert all colors to grayscale are included. Please note that only colors of vector objects on pages and in XObjects are affected. This tool does not transform colos in images at the moment.
CONVERTERS[converter] can be any of
- dummy - Convert all colors to red. Just a dummy and test implementation which serves as an example for developers.
- grayscale - Convert all colors of vector objects in a PDF to grayscale.
- lua [script] - Convert all colors based on a Lua description. A lua script has to be passed as an additional parameter.