Choose image format

📘

PNG and PNG8 no longer supported for satellite.day

The PNG and PNG8 image formats are no longer supported for requests that use the satellite.day style.

Requests for this style using PNG or PNG8 now automatically return JPEG-compressed tiles instead, with a corresponding Content-Type header. Use the JPEG format directly in your requests going forward.

The image formats supported by the HERE Raster Tile API include PNG, JPEG, and PNG8. When you select an image format for your map tiles, consider the complexity of your map, the number of colors required, the need for transparency, and the trade-off between the file size and visual quality of the map image.

Based on the style, the recommended format parameter values are:

  • jpeg for any style that includes satellite imagery such as satellite.day style or explore.satellite.day style (PNG and PNG8 requests for the satellite.day style are automatically served as JPEG)
  • png8 for all the other styles
  • png an alternative to the png8 when you prefer full image colors over smaller image file size
📘

Note

Due to the internal representation of satellite imagery, the PNG image format does not result in better image quality as the JPEG image format despite the much larger image size.

Examples

The following examples demonstrate how each image format appears when applied to map tiles. Compare the visual quality and file size characteristics of each format.

PNG8 format

The following request demonstrates how to request a tile in the PNG8 format:

GET https://maps.hereapi.com/v3/base/mc/14/4521/6833/png8?size=512&apiKey={YOUR_API_KEY}

PNG format

The following request demonstrates how to request a tile in the PNG format:

GET https://maps.hereapi.com/v3/base/mc/12/2200/1343/png?apiKey={YOUR_API_KEY}

JPEG format

The following request demonstrates how to request a tile in the JPEG format:

GET https://maps.hereapi.com/v3/base/mc/12/2200/1343/jpeg?apiKey={YOUR_API_KEY}&style=explore.satellite.day

Requesting png or png8 for the satellite.day style returns JPEG-compressed tiles regardless.

Next steps

  • For more information on available map styles and their visual characteristics, see Apply styles.
  • For more information on API endpoints and request parameters, see the API Reference.

Did this page help you?