.. _IndexedConversionOptions: ================================================ IndexedConversionOptions ================================================ Description ----------- Options for converting an RGB image to an indexed color model. Static Properties ^^^^^^^^^^^^^^^^^ +-----------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`colors` readonly | The number of colors in the palette. Not valid for all palette types. | +-----------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`dither` readonly | The type of dither. | +-----------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`ditherAmount` readonly | The amount of dither. Valid only when 'dither' = diffusion. | +-----------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`forced` readonly | The type of colors to force into the color palette. | +-----------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`matte` readonly | The color to use to fill anti-aliased edges adjacent to transparent areas of the image. When transparency = false, the matte color is applied to transparent areas. | +-----------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`palette` readonly | The type of palette. | +-----------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`preserveExactColors` readonly | If true, protects colors in the image that contain entries in the color table from being dithered. Valid only when 'dither' = diffusion. | +-----------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`transparency` readonly | If true, preserves transparent areas of the image during conversion to GIF format. | +-----------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------+ .. container:: hide .. toctree:: :hidden: :maxdepth: 1 IndexedConversionOptions/palette.rst IndexedConversionOptions/colors.rst IndexedConversionOptions/forced.rst IndexedConversionOptions/transparency.rst IndexedConversionOptions/dither.rst IndexedConversionOptions/ditherAmount.rst IndexedConversionOptions/preserveExactColors.rst IndexedConversionOptions/matte.rst