2023-08-30 15:59:51 -07:00
|
|
|
from enum import Enum
|
|
|
|
|
|
|
|
|
|
|
|
class ImageFormat(str, Enum):
|
2023-11-27 16:01:20 -08:00
|
|
|
"""Enum containing the variety of image formats snapshots may be exported to.""" # noqa: E501
|
|
|
|
|
|
|
|
"""# .png format """ # noqa: E501
|
|
|
|
PNG = "png"
|
|
|
|
"""# .jpeg format """ # noqa: E501
|
|
|
|
JPEG = "jpeg"
|
|
|
|
|
|
|
|
def __str__(self) -> str:
|
|
|
|
return str(self.value)
|