--jb2-format=<bitonal, color, none>
The jb2-format
option defines how to segment the color image, and which mode of JB2 data compression should
be implemented during encoding. Specify values for this option as described in
the table below.
Supporting commands:
documenttodjvu
Value |
Description |
--jb2-format=bitonal |
Indicates that the color image should be segmented into three layers: the mask, background, and foreground. The bitonal mask is encoded using the JB2 data compression method, and the foreground and background are encoded using the IW44 wavelet-based compression method. |
Indicates that the mask and foreground of a color image should be combined into one layer, thereby creating a two-layer DjVu file that consists of a foreground and a background. Using the JB2 color mode, the foreground is encoded by specifying one solid color for each object described by the bitonal mask. The background is encoded using the IW44 compression method. Use this specification to create very small DjVu files. Images that contain overlapping colors, however, may display artifacts. For example, in an image that depicts Superman, this setting causes Superman's red cape and blue exterior to appear purple. Consequently, you should not use the color setting with color-rich documents, such as maps and comic books. |
|
--jb2-format=none |
Disables segmentation and creates a one-layer DjVu document that is encoded with IW44 wavelet-based compression. Use this setting to encode images that contain photographs. |