Calculates the histogram of the given image.
google.appengine.api.images.histogram(
image_data, rpc=None
)
Args |
image_data
|
String of the source image data.
|
rpc
|
An optional UserRPC object.
|
Returns |
3 256-element lists containing the number of occurences of each value of
each color in the order RGB.
|
Raises |
NotImageError
|
If the supplied image data is not an image.
|
BadImageError
|
If the supplied image data is corrupt.
|
LargeImageError
|
If the supplied image data is too large to process.
|
Error
|
All other errors.
|