.. include:: /Includes.rst.txt .. index:: GIFBUILDER; CROP .. _gifbuilder-crop: ==== CROP ==== .. note:: This object resets :ref:`gifbuilder-properties-workArea` to the new dimensions of the image! .. _gifbuilder-crop-properties: Properties ========== .. contents:: :local: .. _gifbuilder-crop-align: align ----- .. confval:: align :name: gifbuilder-crop-align :type: VHalign / :ref:`stdWrap ` :Default: l, t Pair of values, which defines the horizontal and vertical alignment of the crop frame. **Values:** Horizontal alignment: l left c center r right Vertical alignment: t top c center b bottom **Example:** Horizontally centered, vertically at the bottom: .. code-block:: typoscript :caption: EXT:site_package/Configuration/TypoScript/setup.typoscript align = c, b .. _gifbuilder-crop-backColor: backColor --------- .. confval:: backColor :name: gifbuilder-crop-backColor :type: :ref:`data-type-GraphicColor` / :ref:`stdWrap ` :Default: The original background color Background color. .. _gifbuilder-crop-crop: crop ---- .. confval:: crop :name: gifbuilder-crop-crop :type: x,y,w,h :ref:`+calc ` /:ref:`stdWrap ` x,y is the offset of the crop frame from the position specified by :ref:`align `. w,h are the dimensions of the frame.