Package 

Object RotationOptions.Companion

    • Method Detail

      • autoRotate

         final RotationOptions autoRotate()

        Creates a new set of rotation options for JPEG images to use the rotation angle in the image metadata.

        This is the default option for requests which don't specify rotation options.

        The rotation will not be deferred for defensiveness but that can improve performance. To defer, use autoRotateAtRenderTime().

      • autoRotateAtRenderTime

         final RotationOptions autoRotateAtRenderTime()

        Creates a new set of rotation options for JPEG images to use the rotation angle in the image metadata.

        The rotation may be deferred until the image is rendered.

      • forceRotation

         final RotationOptions forceRotation(Integer angle)

        Creates a new set of rotation options to use a specific rotation angle.

        The rotation will be carried out in the pipeline.

        Parameters:
        angle - the angle to rotate - valid values are 0, 90, 180 and 270