lacking norms
This commit is contained in:
parent
38edf1cb82
commit
57709255e1
@ -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[0] = (unsigned char) ((secondary_diff / (float) delta) + wrap_around_hue);
|
||||||
}
|
}
|
||||||
|
|
||||||
q[1] = (unsigned char) ((float) delta / (float) c_max);
|
q[1] = (unsigned char) ((float) delta / (float) c_max)*256;
|
||||||
}
|
}
|
||||||
|
|
||||||
p += 3;
|
p += 3;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user