View Source CImg.Util (cimg v0.1.19)
CImg utility library.
Link to this section Summary
Functions
Get aspect of the image.
Get inverse aspect of the image.
[util] Get a rondom color.
[util] Make random color palette %{}.
Link to this section Functions
Get aspect of the image.
parameters
Parameters
- img - %CImg{}
Get inverse aspect of the image.
parameters
Parameters
- img - %CImg{}
[util] Get a rondom color.
[util] Make random color palette %{}.
parameters
Parameters
- keys - keys of the color palette
- if keys is integer -> 0..(keys-1)
- if keys is binary -> read from the file "keys"
- if keys is list -> use it