---
name: "podofocolor"
section: "1"
platform: "linux"
package: "podofo-tools"
version: "0.10.6-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://carta.tech/man/podofocolor"
---

# podofocolor(1)

modify colors in a PDF file.

## NAME

podofocolor - modify colors in a PDF file.

## SYNOPSIS

**podofocolor** \[converter\] \[inputfile\] \[outpufile\]

## DESCRIPTION

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

## SEE ALSO

[**podofobox**(1)](/man/podofobox/1.md), [**podofocountpages**(1)](/man/podofocountpages/1.md), [**podofocrop**(1)](/man/podofocrop/1.md), [**podofoencrypt**(1)](/man/podofoencrypt/1.md), [**podofogc**(1)](/man/podofogc/1.md), [**podofoimg2pdf**(1)](/man/podofoimg2pdf/1.md), [**podofoimgextract**(1)](/man/podofoimgextract/1.md), [**podofoimpose**(1)](/man/podofoimpose/1.md), [**podofomerge**(1)](/man/podofomerge/1.md), [**podofoincrementalupdates**(1)](/man/podofoincrementalupdates/1.md), [**podofopages**(1)](/man/podofopages/1.md), [**podofopdfinfo**(1)](/man/podofopdfinfo/1.md), [**podofotxt2pdf**(1)](/man/podofotxt2pdf/1.md), [**podofotxtextract**(1)](/man/podofotxtextract/1.md), [**podofouncompress**(1)](/man/podofouncompress/1.md), [**podofoxmp**(1)](/man/podofoxmp/1.md)

## AUTHOR

PoDoFo is written by Dominik Seichter \<domseichter@web.de\> and others.

This manual page was written by Dominik Seichter \<domseichter@web.de\> for the PoDoFo Project (but may be used by others).
