--fg-image-colors=<1-4000>

Sets the maximum number of distinct colors for an object to be considered for encoding into foreground layer. The default is set to 256.

Example

pdftodjvu --fg-image-colors=150 document.pdf [document.djvu]