too much normalizing

This commit is contained in:
JonDeen 2015-06-09 17:32:33 +02:00
parent 15bac3531d
commit 38edf1cb82
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ vips_sRGB2HSV_line( VipsColour *colour, VipsPel *out, VipsPel **in, int width )
q[0] = (unsigned char) ((secondary_diff / (float) delta) + wrap_around_hue);
}
q[1] = (unsigned char) ((float) delta * 256.0f / (float) c_max);
q[1] = (unsigned char) ((float) delta / (float) c_max);
}
p += 3;