Class ImageTransformationOptions

  • All Implemented Interfaces:
    Cloneable

    @AlfrescoPublicApi
    public class ImageTransformationOptions
    extends TransformationOptions
    Image transformation options
    Author:
    Roy Wetherall
    • Constructor Detail

      • ImageTransformationOptions

        public ImageTransformationOptions()
    • Method Detail

      • setCommandOptions

        @Deprecated
        public void setCommandOptions​(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 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)
        Set the image resize options
        Parameters:
        resizeOptions - image resize options
      • getResizeOptions

        public ImageResizeOptions getResizeOptions()
        Get the image resize options
        Returns:
        ImageResizeOptions image resize options
      • isAutoOrient

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

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