ImageSettingMode
Specifies the mode options for image settings.
from nutrient import ImageSettingModeValues
| Name | Value | Description |
|---|---|---|
ImageSettingMode.UNSPECIFIED | 0 | No specific mode is set. |
ImageSettingMode.FOLLOW_EXIF_ROTATION | 1 | Specifies if the Exif Rotation information should be followed if it’s present in the loaded document |
ImageSettingMode.PRESERVE_ICC_PROFILE | 2 | Specifies if the ICC profile should be preserved during the conversion if it’s present in the loaded document. |
Usage Example
from nutrient import ImageSettingMode
# Access enum valuesvalue = ImageSettingMode.UNSPECIFIEDprint(f"Value: {value}") # Output: Value: ImageSettingMode.UNSPECIFIEDprint(f"Integer value: {value.value}") # Output: Integer value: 0