Class ImageTransformationOptions

  • All Implemented Interfaces:
    java.lang.Cloneable

    @Deprecated
    @AlfrescoPublicApi
    public class ImageTransformationOptions
    extends TransformationOptions
    Deprecated.
    The transformations code is being moved out of the codebase and replaced by the new async RenditionService2 or other external libraries.
    Image transformation options
    Author:
    Roy Wetherall
    • Field Detail

      • OPT_COMMAND_OPTIONS

        public static final java.lang.String OPT_COMMAND_OPTIONS
        Deprecated.
        See Also:
        Constant Field Values
      • OPT_IMAGE_RESIZE_OPTIONS

        public static final java.lang.String OPT_IMAGE_RESIZE_OPTIONS
        Deprecated.
        See Also:
        Constant Field Values
      • OPT_IMAGE_AUTO_ORIENTATION

        public static final java.lang.String OPT_IMAGE_AUTO_ORIENTATION
        Deprecated.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ImageTransformationOptions

        public ImageTransformationOptions()
        Deprecated.
    • Method Detail

      • setCommandOptions

        @Deprecated
        public void setCommandOptions​(java.lang.String commandOptions)
        Deprecated.
        will be removed in a future release and be replaced by individual options that can be checked.
        Set the command string options
        Parameters:
        commandOptions - the command string options
      • getCommandOptions

        @Deprecated
        public java.lang.String getCommandOptions()
        Deprecated.
        will be removed in a future release and be replaced by individual options that can be checked.
        Get the command string options
        Returns:
        String the command string options
      • setResizeOptions

        public void setResizeOptions​(ImageResizeOptions resizeOptions)
        Deprecated.
        Set the image resize options
        Parameters:
        resizeOptions - image resize options
      • getResizeOptions

        public ImageResizeOptions getResizeOptions()
        Deprecated.
        Get the image resize options
        Returns:
        ImageResizeOptions image resize options
      • toMap

        public java.util.Map<java.lang.String,​java.lang.Object> toMap()
        Deprecated.
        Overrides the base class implementation to add our options
        Overrides:
        toMap in class TransformationOptions
      • isAutoOrient

        public boolean isAutoOrient()
        Deprecated.
        Returns:
        Will the image be automatically oriented(rotated) based on the EXIF "Orientation" data. Defaults to TRUE
      • setAutoOrient

        public void setAutoOrient​(boolean autoOrient)
        Deprecated.
        Parameters:
        autoOrient - automatically orient (rotate) based on the EXIF "Orientation" data