Announcement: All noncommercial projects registered to use Earth Engine before April 15, 2025 must verify noncommercial eligibility to maintain Earth Engine access.
Stay organized with collections
Save and categorize content based on your preferences.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-06-05 UTC."],[[["\u003cp\u003eSelects an image file format for returning pixel data, supporting various formats like JPEG, PNG, NumPy, GeoTIFF, and TFRecord.\u003c/p\u003e\n"],["\u003cp\u003ePrimarily supports 8-bit RGB data for display purposes (JPEG, PNG, AUTO_JPEG_PNG) or can be converted using visualization parameters.\u003c/p\u003e\n"],["\u003cp\u003eOffers specialized formats like NumPy for raw data, GeoTIFF for geospatial data, and TFRecord for image exports.\u003c/p\u003e\n"],["\u003cp\u003eIncludes zipped GeoTIFF options for thumbnail creation, providing single or per-band files.\u003c/p\u003e\n"],["\u003cp\u003eIf unspecified, the \u003ccode\u003eIMAGE_FILE_FORMAT_UNSPECIFIED\u003c/code\u003e enum is used.\u003c/p\u003e\n"]]],["The system defines image file formats for returning pixel data. Available formats include `JPEG`, `PNG`, `AUTO_JPEG_PNG` (automatic selection), `NPY` (NumPy), `GEO_TIFF`, `TF_RECORD_IMAGE`, `ZIPPED_GEO_TIFF`, and `ZIPPED_GEO_TIFF_PER_BAND`. JPEG, PNG, and automatic formats are for display, supporting 8-bit RGB data. `ZIPPED_GEO_TIFF` and `ZIPPED_GEO_TIFF_PER_BAND` are for thumbnails. TF_RECORD_IMAGE is for image exports. `IMAGE_FILE_FORMAT_UNSPECIFIED` indicates an undefined type.\n"],null,["# ImageFileFormat\n\nSelects an image file format in which to return a block of pixel data.\n\n| Enums ||\n|---------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `IMAGE_FILE_FORMAT_UNSPECIFIED` | Unspecified. |\n| `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. |\n| `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. |\n| `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. |\n| `NPY` | NumPy .npy format. |\n| `GEO_TIFF` | GeoTIFF format. |\n| `TF_RECORD_IMAGE` | TFRecord format. Only supported for image exports. |\n| `ZIPPED_GEO_TIFF` | A format which returns a GeoTIFF file wrapped in a zip file. This is only available when using CreateThumbnail. |\n| `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. |"]]