.. _TrimType: ================================================ TrimType ================================================ Description ----------- The type of pixels to trim around an image. Static Properties ^^^^^^^^^^^^^^^^^ +---------------------------------------------------+-----------------------------------------------------------------------------------------------------------------+ | :ref:`BOTTOMRIGHT` readonly | Removes from the image an area the color of the lower right pixel. | +---------------------------------------------------+-----------------------------------------------------------------------------------------------------------------+ | :ref:`TOPLEFT` readonly | Removes from the image an area the color of the upper left pixel. | +---------------------------------------------------+-----------------------------------------------------------------------------------------------------------------+ | :ref:`TRANSPARENT` readonly | Trims away transparency at the edges of the image, leaving the smallest image containing nontransparent pixels. | +---------------------------------------------------+-----------------------------------------------------------------------------------------------------------------+ .. container:: hide .. toctree:: :hidden: :maxdepth: 1 TrimType/TRANSPARENT.rst TrimType/TOPLEFT.rst TrimType/BOTTOMRIGHT.rst