This document helps you understand how to query the average hue.
Operation Scenarios
ZOS supports average hue query of an image by configuration parameters.
Constraints and Restrictions
Average hue query cannot be used together with other image processing operations.
Average hue query can only be called through the GET interface and cannot be used with the POST interface.
For general limitations on the source format, file size, and image resolution, see Image Processing Overview - Image Restrictions.
For regions supporting average hue query, see Product Capability Map.
Description
Operator: average-hue
The returned average hue query is in JSON format, e.g., {0x555555}.
Note
For GIF images, the queried average hue is calculated across all frames.
Example
To view the average hue query of an image, the specific request parameters are as follows:
image/average-hue