podofobox (1) - Linux Manuals
podofobox: modify colors in a PDF file.
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 onvert all colors to grayscaleare 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 - Convert all colors based on a Lua description. A lua script has to be passed as an additional parameter.
PoDoFo is written by Dominik Seichter <domseichter [at] web.de> and others.
This manual page was written by Dominik Seichter <domseichter [at] web.de> for the PoDoFo Project (but may be used by others).