Anúncio: todos os projetos não comerciais registrados para usar o Earth Engine antes de
15 de abril de 2025 precisam
verificar a qualificação não comercial para manter o acesso ao Earth Engine.
ImageFileFormat
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2025-07-26 UTC.
[null,null,["Última atualização 2025-07-26 UTC."],[[["\u003cp\u003eSelects an image file format for returning pixel data.\u003c/p\u003e\n"],["\u003cp\u003eOptions include JPEG, PNG, NPY, GeoTIFF, TFRecord, and zipped formats.\u003c/p\u003e\n"],["\u003cp\u003eJPEG and PNG are for display and support 8-bit RGB data.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAUTO_JPEG_PNG\u003c/code\u003e dynamically chooses between JPEG and PNG based on transparency.\u003c/p\u003e\n"],["\u003cp\u003eSome formats like zipped GeoTIFFs are specific to thumbnail creation.\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. |"]]