AI-generated Key Takeaways
-
Selects an image file format for returning pixel data, supporting various formats like JPEG, PNG, NumPy, GeoTIFF, and TFRecord.
-
Primarily supports 8-bit RGB data for display purposes (JPEG, PNG, AUTO_JPEG_PNG) or can be converted using visualization parameters.
-
Offers specialized formats like NumPy for raw data, GeoTIFF for geospatial data, and TFRecord for image exports.
-
Includes zipped GeoTIFF options for thumbnail creation, providing single or per-band files.
-
If unspecified, the
IMAGE_FILE_FORMAT_UNSPECIFIED
enum is used.
Selects an image file format in which to return a block of pixel data.
Enums | |
---|---|
IMAGE_FILE_FORMAT_UNSPECIFIED |
Unspecified. |
JPEG |
JPEG. Intended for display purposes. Only supported for 8-bit RGB data, or data that is converted to 8-bit RGB via visualization parameters. |
PNG |
PNG. Intended for display purposes. Only supported for 8-bit RGB data, or data that is converted to 8-bit RGB via visualization parameters. |
AUTO_JPEG_PNG |
Automatically select JPEG or PNG depending on whether or not there is any transparency. Intended for display purposes. Only supported for 8-bit RGB data, or data that is converted to 8-bit RGB via visualization parameters. |
NPY |
NumPy .npy format. |
GEO_TIFF |
GeoTIFF format. |
TF_RECORD_IMAGE |
TFRecord format. Only supported for image exports. |
ZIPPED_GEO_TIFF |
A format which returns a GeoTIFF file wrapped in a zip file. This is only available when using CreateThumbnail. |
ZIPPED_GEO_TIFF_PER_BAND |
A format which returns a GeoTIFF file for each band, wrapped in a zip file. This is only available when using CreateThumbnail. |