anyKode Marilou
ContentsIndexHome
PreviousUpNext
Image::GetColor

Getting the average color of an image.

C++
Pixel GetColor(void) const;

If the image is valid, the function returns the average color of the image in a Pixel object. Otherwise the returned Pixel is black.

GetColor returns the average color of the image.

v4.7.31

Documentation v4.7 (18/01/2015), Copyright (c) 2015 anyKode. All rights reserved.
What do you think about this topic? Send feedback!