@Immutable
public class Options
extends java.lang.Object
DecodeOptions, TranscodeOptions, EncodeOptions, TransformOptions) should
be used instead of this type directly.| Modifier and Type | Class and Description |
|---|---|
static class |
Options.Builder<T extends Options.Builder<T>> |
| Modifier and Type | Field and Description |
|---|---|
Configuration |
configuration
Options in the configuration object will override default and app-wide settings.
|
EncodeRequirement |
encodeRequirement
The
EncodeRequirement to apply. |
ImageMetadata |
metadata
Optional metadata to consider besides the ones provided by the encoded image.
|
ImagePixelSpecification |
outputPixelSpecification
If set, will dictate the pixel specification images should be converted to before being passed
to the compressor.
|
Transformations |
transformations
Contains optional
Transformations such as resize, cropping and rotation. |
| Modifier | Constructor and Description |
|---|---|
protected |
Options(Options.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toString(java.lang.String className) |
@Nullable public final EncodeRequirement encodeRequirement
EncodeRequirement to apply. Dictates the final image format. If none, bitmap is
deduced.public final Transformations transformations
Transformations such as resize, cropping and rotation.@Nullable public final ImageMetadata metadata
@Nullable public final Configuration configuration
@Nullable public final ImagePixelSpecification outputPixelSpecification
protected Options(Options.Builder builder)
public java.lang.String toString(java.lang.String className)
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object