podofocolor(1)

podofocolor1

Modify colors in a pdf file.

Usage

podofocolor [converter] [inputfile] [outpufile]

Overview

podofocolor 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.

Releases

Unchanged in 6 releases since Debian 9 (Stretch).

  1. 9–Arch

Author

PoDoFo is written by Dominik Seichter <[email protected]> and others.

This manual page was written by Dominik Seichter <[email protected]> for the PoDoFo Project (but may be used by others).

From podofo-tools 0.10.6-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.