This commit is contained in:
JonDeen 2015-06-09 13:33:18 +02:00
parent f52d166ca5
commit bfbc873d7d
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ vips_sRGB2HSV_line( VipsColour *colour, VipsPel *out, VipsPel **in, int width )
q[0] = (unsigned char) (((int)(p[0] - p[1]) / delta) + 171);
}
q[1]= (unsigned char) ((int) delta/c_max);
q[1]= (unsigned char) ((int) delta*256/c_max);
}