tweaks
This commit is contained in:
parent
f52d166ca5
commit
bfbc873d7d
@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user