# Copyright 2023-2024 Amazon.com, Inc. or its affiliates.
from enum import Enum
[docs]
class GDALCompressionOptions(str, Enum):
"""
Enumeration defining compression algorithms for image.
"""
NONE = "NONE"
JPEG = "JPEG"
J2K = "J2K"
LZW = "LZW"
[docs]
class RangeAdjustmentType(str, Enum):
"""
Enumeration defining ways to scale raw image pixels to an output value range.
- NONE indicates that the full range available to the input type will be used.
- MINMAX chooses the portion of the input range that actually contains values.
- DRA is a dynamic range adjustment that attempts to select the most important portion of the input range.
It differs from MINMAX in that it can exclude outliers to reduce the impact of unusually bright/dark
spots in an image.
"""
NONE = "NONE"
MINMAX = "MINMAX"
DRA = "DRA"