---
name: "podofocolor"
section: "1"
platform: "linux"
package: "podofo-tools"
version: "0.10.6-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/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)](/podofobox/1.md), [**podofocountpages**(1)](/podofocountpages/1.md), [**podofocrop**(1)](/podofocrop/1.md), [**podofoencrypt**(1)](/podofoencrypt/1.md), [**podofogc**(1)](/podofogc/1.md), [**podofoimg2pdf**(1)](/podofoimg2pdf/1.md), [**podofoimgextract**(1)](/podofoimgextract/1.md), [**podofoimpose**(1)](/podofoimpose/1.md), [**podofomerge**(1)](/podofomerge/1.md), [**podofoincrementalupdates**(1)](/podofoincrementalupdates/1.md), [**podofopages**(1)](/podofopages/1.md), [**podofopdfinfo**(1)](/podofopdfinfo/1.md), [**podofotxt2pdf**(1)](/podofotxt2pdf/1.md), [**podofotxtextract**(1)](/podofotxtextract/1.md), [**podofouncompress**(1)](/podofouncompress/1.md), [**podofoxmp**(1)](/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).
