Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

org.alfresco.repo.content.transform.magick
Class ImageTransformationOptions
java.lang.Object
  org.alfresco.service.cmr.repository.TransformationOptions
      org.alfresco.repo.content.transform.magick.ImageTransformationOptions
All Implemented Interfaces:
Cloneable

@org.alfresco.api.AlfrescoPublicApi
public class ImageTransformationOptions
extends TransformationOptions
Image transformation options
Author:
Roy Wetherall

Field Summary
static String
OPT_COMMAND_OPTIONS
static String
OPT_IMAGE_AUTO_ORIENTATION
static String
OPT_IMAGE_RESIZE_OPTIONS
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
ImageTransformationOptions()
Method Summary
void
copyFrom(TransformationOptions origOptions)
          Does the work of copying the given other TransformationOptions values to this one
getCommandOptions()
          Get the command string options
getResizeOptions()
          Get the image resize options
boolean
isAutoOrient()
void
setAutoOrient(boolean autoOrient)
void
setCommandOptions(String commandOptions)
          Set the command string options
void
setResizeOptions(ImageResizeOptions resizeOptions)
          Set the image resize options
toMap()
          Overrides the base class implementation to add our options
toString()
Methods inherited from class org.alfresco.service.cmr.repository.TransformationOptions
addSourceOptions, clone, deepCopy, equals, getIncludeEmbedded, getLimits, getMaxPages, getMaxSourceSizeKBytes, getPageLimit, getReadLimitKBytes, getReadLimitTimeMs, getSourceContentProperty, getSourceNodeRef, getSourceOptions, getSourceOptionsList, getSourceOptionsMap, getTargetContentProperty, getTargetNodeRef, getTimeoutMs, getUse, hashCode, set, setIncludeEmbedded, setLimits, setMaxPages, setMaxSourceSizeKBytes, setPageLimit, setReadLimitKBytes, setReadLimitTimeMs, setSourceContentProperty, setSourceNodeRef, setSourceOptionsList, setTargetContentProperty, setTargetNodeRef, setTimeoutMs, setUse, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Field Detail
OPT_COMMAND_OPTIONS
public static final String OPT_COMMAND_OPTIONS
See Also:
Constant Field Values

OPT_IMAGE_AUTO_ORIENTATION
public static final String OPT_IMAGE_AUTO_ORIENTATION
See Also:
Constant Field Values

OPT_IMAGE_RESIZE_OPTIONS
public static final String OPT_IMAGE_RESIZE_OPTIONS
See Also:
Constant Field Values
Constructor Detail
ImageTransformationOptions
public ImageTransformationOptions()
Method Detail
setCommandOptions
public void setCommandOptions(String commandOptions)
Set the command string options
Parameters:
commandOptions - the command string options

getCommandOptions
public String getCommandOptions()
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

toString
public String toString()
Overrides:
toString in class TransformationOptions

toMap
public Map<String,ObjecttoMap()
Overrides the base class implementation to add our options
Overrides:
toMap in class TransformationOptions

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

copyFrom
public void copyFrom(TransformationOptions origOptions)
Description copied from class: TransformationOptions
Does the work of copying the given other TransformationOptions values to this one
Overrides:
copyFrom in class TransformationOptions

Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005–2018 Alfresco Software. All rights reserved.

Java API documentation generated with DocFlex/Javadoc 1.6.1 using JavadocPro template set.