10 lines
460 B
C
10 lines
460 B
C
#ifndef __COLOR_HELPERS
|
|
#define __COLOR_HELPERS 1
|
|
|
|
void __imlib_rgb_to_hsv(int r, int g, int b, float *hue, float *saturation, float *value);
|
|
void __imlib_hsv_to_rgb(float hue, float saturation, float value, int *r, int *g, int *b);
|
|
void __imlib_rgb_to_hls(int r, int g, int b, float *hue, float *lightness, float *saturation);
|
|
void __imlib_hls_to_rgb(float hue, float lightness, float saturation, int *r, int *g, int *b);
|
|
|
|
#endif
|