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 Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.static final StringDeprecated.static final StringDeprecated.Fields inherited from class org.alfresco.service.cmr.repository.TransformationOptions
OPT_INCLUDE_EMBEDDED, OPT_SOURCE_CONTENT_PROPERTY, OPT_SOURCE_NODEREF, OPT_TARGET_CONTENT_PROPERTY, OPT_TARGET_NODEREF, OPT_USE, relaxedBooleanTypeConverter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcopyFrom(TransformationOptions origOptions) Deprecated.Does the work of copying the given other TransformationOptions values to this onebooleanDeprecated.Deprecated.will be removed in a future release and be replaced by individual options that can be checked.Deprecated.Get the image resize optionsinthashCode()Deprecated.booleanDeprecated.voidsetAutoOrient(boolean autoOrient) Deprecated.voidsetCommandOptions(String commandOptions) Deprecated.will be removed in a future release and be replaced by individual options that can be checked.voidsetResizeOptions(ImageResizeOptions resizeOptions) Deprecated.Set the image resize optionstoMap()Deprecated.Overrides the base class implementation to add our optionstoString()Deprecated.Deprecated.Methods inherited from class org.alfresco.service.cmr.repository.TransformationOptions
addSourceOptions, clone, deepCopy, getIncludeEmbedded, getLimits, getMaxPages, getMaxSourceSizeKBytes, getPageLimit, getReadLimitKBytes, getReadLimitTimeMs, getSourceContentProperty, getSourceNodeRef, getSourceOptions, getSourceOptionsList, getSourceOptionsMap, getTargetContentProperty, getTargetNodeRef, getTimeoutMs, getUse, set, setIncludeEmbedded, setLimits, setMaxPages, setMaxSourceSizeKBytes, setPageLimit, setReadLimitKBytes, setReadLimitTimeMs, setSourceContentProperty, setSourceNodeRef, setSourceOptionsList, setTargetContentProperty, setTargetNodeRef, setTimeoutMs, setUse, toString
-
Field Details
-
OPT_COMMAND_OPTIONS
Deprecated.- See Also:
-
OPT_IMAGE_RESIZE_OPTIONS
Deprecated.- See Also:
-
OPT_IMAGE_AUTO_ORIENTATION
Deprecated.- See Also:
-
-
Constructor Details
-
ImageTransformationOptions
public ImageTransformationOptions()Deprecated.
-
-
Method Details
-
setCommandOptions
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.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
Deprecated.Set the image resize options- Parameters:
resizeOptions- image resize options
-
getResizeOptions
Deprecated.Get the image resize options- Returns:
- ImageResizeOptions image resize options
-
toString
Deprecated.- Overrides:
toStringin classTransformationOptions
-
toStringAll
Deprecated.- Overrides:
toStringAllin classTransformationOptions
-
toMap
Deprecated.Overrides the base class implementation to add our options- Overrides:
toMapin classTransformationOptions
-
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
Deprecated.Description copied from class:TransformationOptionsDoes the work of copying the given other TransformationOptions values to this one- Overrides:
copyFromin classTransformationOptions- Parameters:
origOptions- the options to copy
-
equals
Deprecated.- Overrides:
equalsin classTransformationOptions
-
hashCode
public int hashCode()Deprecated.- Overrides:
hashCodein classTransformationOptions
-