VisualizationOptions Stay organized with collections Save and categorize content based on your preferences.
Page Summary
Learn how to generate an 8-bit RGB visualization of your data.
Understand the parameters needed to define the visualization, including ranges, palette colors, gamma, and opacity.
Discover how
rangescan map data values to an 8-bit scale and handle values outside the specified range.Explore how
paletteColorscan be used to apply a color scheme when visualizing a single data band.Find out how
gammaandopacitycan adjust the overall appearance of the visualization.
Describes how to produce an 8-bit RGB visualization of the requested data.
| JSON representation |
|---|
{"ranges":[{object ( |
| Fields | |
|---|---|
ranges[] |
If present, specifies the range of data values to visualize. This range of values will be mapped to 0-255 (black to white) in the resulting image, and values outside this range will be clamped. May specify as one range for each band being visualized or else a single range to be applied to all bands. |
paletteColors[] |
If present, specifies sequence of CSS-style RGB color identifiers to apply as a color palette. Only allowed when visualizing a single data band. |
gamma |
If present, specifies an overall gamma correction factor to apply to the image. |
opacity |
If present, specifies an overall opacity factor to apply to the image, in the range 0.0 to 1.0. |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-06 UTC.