-#include "image.h"
+#include "imager.h"
#include <math.h>
/*
A collection of utility functions for converting between color spaces.
+=over
+
+=cut
*/
#define EPSILON (1e-8)
=cut
*/
void i_rgb_to_hsvf(i_fcolor *color) {
- double h, s, v;
+ double h = 0, s, v;
double temp;
double Cr, Cg, Cb;
=cut
*/
void i_rgb_to_hsv(i_color *color) {
- double h, s, v;
+ double h = 0, s, v;
double temp;
double Cr, Cg, Cb;