-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum ExifOrientationPolicy extends Enum<ExifOrientationPolicy>
Specifies the policy for handling the EXIF orientation flag.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RESPECT_ALLRespect the EXIF orientation flag for all supported formats.
NOTE: This policy can potentially cause out of memory errors as certain image formats (e.g. PNG) will be buffered entirely into memory while being decoded.
RESPECT_PERFORMANCERespect the EXIF orientation flag only for image formats that won't negatively affect performance.
This policy respects the EXIF orientation flag for the following MIME types:
image/jpeg
image/webp
image/heic
image/heif
This is the default value for ImageLoader.Builder.bitmapFactoryExifOrientationPolicy.
IGNOREIgnore the EXIF orientation flag.
-
Method Summary
Modifier and Type Method Description final StringgetName()final IntegergetOrdinal()-
-
Method Detail
-
getOrdinal
final Integer getOrdinal()
-
-
-
-