public class ImageTransformationOptions extends TransformationOptionsImpl
| Modifier and Type | Field and Description |
|---|---|
static String |
OPT_COMMAND_OPTIONS |
static String |
OPT_IMAGE_AUTO_ORIENTATION |
static String |
OPT_IMAGE_RESIZE_OPTIONS |
| Constructor and Description |
|---|
ImageTransformationOptions() |
ImageTransformationOptions(ImageTransformationOptions origOptions) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCommandOptions()
Get the command string options
|
ImageResizeOptions |
getResizeOptions()
Get the image resize options
|
Float |
getRotationDegrees()
Gets the rotation in degrees to rotate the image about its center
|
boolean |
isAutoOrient() |
void |
merge(TransformationOptions override) |
void |
setAutoOrient(boolean autoOrient) |
void |
setCommandOptions(String commandOptions)
Set the command string options
|
void |
setResizeOptions(ImageResizeOptions resizeOptions)
Set the image resize options
|
void |
setRotationDegrees(Float rotationDegrees)
Sets the rotation in degrees to rotate the image about its center
|
String |
toString() |
addSourceOptions, deepCopySourceOptionsMap, getAdditionalOptions, getIncludeEmbedded, getPageLimit, getSourceOptions, getSourceOptionsMap, getTimeoutMs, setAdditionalOptions, setIncludeEmbedded, setPageLimit, setSourceOptionsList, setSourceOptionsMap, setTimeoutMs, toStringSourceOptionspublic static final String OPT_COMMAND_OPTIONS
public static final String OPT_IMAGE_RESIZE_OPTIONS
public static final String OPT_IMAGE_AUTO_ORIENTATION
public ImageTransformationOptions()
public ImageTransformationOptions(ImageTransformationOptions origOptions)
public void merge(TransformationOptions override)
merge in interface org.gytheio.util.Mergable<TransformationOptions>merge in class TransformationOptionsImplpublic void setCommandOptions(String commandOptions)
commandOptions - the command string optionspublic String getCommandOptions()
public void setResizeOptions(ImageResizeOptions resizeOptions)
resizeOptions - image resize optionspublic ImageResizeOptions getResizeOptions()
public boolean isAutoOrient()
public void setAutoOrient(boolean autoOrient)
autoOrient - automatically orient (rotate) based on the EXIF "Orientation" datapublic Float getRotationDegrees()
public void setRotationDegrees(Float rotationDegrees)
rotationDegrees - public String toString()
toString in class TransformationOptionsImplCopyright © 2018 Alfresco Software. All rights reserved.