Announcement: All noncommercial projects registered to use Earth Engine before April 15, 2025 must verify noncommercial eligibility to maintain Earth Engine access.
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[]
string
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
number
If present, specifies an overall gamma correction factor to apply to the image.
opacity
number
If present, specifies an overall opacity factor to apply to the image, in the range 0.0 to 1.0.
[[["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 2025-03-06 UTC."],[[["\u003cp\u003eVisualizes data as an 8-bit RGB image by mapping data values to colors.\u003c/p\u003e\n"],["\u003cp\u003eAllows customization through ranges, color palettes, gamma correction, and opacity.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eranges\u003c/code\u003e defines the data value range for visualization, mapping values to 0-255 (black to white).\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003epaletteColors\u003c/code\u003e applies a color palette for single-band visualization using CSS-style RGB identifiers.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003egamma\u003c/code\u003e and \u003ccode\u003eopacity\u003c/code\u003e control the overall image appearance by adjusting gamma correction and transparency, respectively.\u003c/p\u003e\n"]]],[],null,["# VisualizationOptions\n\nDescribes how to produce an 8-bit RGB visualization of the requested data.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"ranges\": [ { object (/earth-engine/reference/rest/v1/DoubleRange) } ], \"paletteColors\": [ string ], \"gamma\": number, \"opacity\": number } ``` |\n\n| Fields ||\n|-------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `ranges[]` | `object (`[DoubleRange](/earth-engine/reference/rest/v1/DoubleRange)`)` 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. |\n| `paletteColors[]` | `string` If present, specifies sequence of CSS-style RGB color identifiers to apply as a color palette. Only allowed when visualizing a single data band. |\n| `gamma` | `number` If present, specifies an overall gamma correction factor to apply to the image. |\n| `opacity` | `number` If present, specifies an overall opacity factor to apply to the image, in the range 0.0 to 1.0. |"]]