Class ImageResizeOptions

java.lang.Object
org.alfresco.repo.content.transform.magick.ImageResizeOptions

@Deprecated @AlfrescoPublicApi public class ImageResizeOptions extends Object
Deprecated.
The transformations code is being moved out of the codebase and replaced by the new async RenditionService2 or other external libraries.
Image resize options
Author:
Roy Wetherall
  • Constructor Details

    • ImageResizeOptions

      public ImageResizeOptions()
      Deprecated.
      Default constructor
  • Method Details

    • setWidth

      public void setWidth(int width)
      Deprecated.
    • getWidth

      public int getWidth()
      Deprecated.
    • setHeight

      public void setHeight(int height)
      Deprecated.
    • getHeight

      public int getHeight()
      Deprecated.
    • setMaintainAspectRatio

      public void setMaintainAspectRatio(boolean maintainAspectRatio)
      Deprecated.
    • isMaintainAspectRatio

      public boolean isMaintainAspectRatio()
      Deprecated.
    • setPercentResize

      public void setPercentResize(boolean percentResize)
      Deprecated.
    • isPercentResize

      public boolean isPercentResize()
      Deprecated.
    • setResizeToThumbnail

      public void setResizeToThumbnail(boolean resizeToThumbnail)
      Deprecated.
    • isResizeToThumbnail

      public boolean isResizeToThumbnail()
      Deprecated.
    • setAllowEnlargement

      public void setAllowEnlargement(boolean allowEnlargement)
      Deprecated.
    • getAllowEnlargement

      public boolean getAllowEnlargement()
      Deprecated.
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object