Class ImageTransformationOptions

java.lang.Object
org.alfresco.service.cmr.repository.TransformationOptions
org.alfresco.repo.content.transform.magick.ImageTransformationOptions
All Implemented Interfaces:
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 Details

  • Constructor Details

    • ImageTransformationOptions

      public ImageTransformationOptions()
      Deprecated.
  • Method Details

    • 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)
      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
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class TransformationOptions
    • toStringAll

      public String toStringAll()
      Deprecated.
      Overrides:
      toStringAll in class TransformationOptions
    • toMap

      public Map<String,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
    • copyFrom

      public void copyFrom(TransformationOptions origOptions)
      Deprecated.
      Description copied from class: TransformationOptions
      Does the work of copying the given other TransformationOptions values to this one
      Overrides:
      copyFrom in class TransformationOptions
      Parameters:
      origOptions - the options to copy
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class TransformationOptions
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class TransformationOptions