mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-10-28 14:41:07 +03:00
By inlining some values, the starting hue calculation can be reduced from using three subtractions and two divisions to using one subtraction and one division. "fmod(n+1,1)" can be replaced with "n - floor(n)" due to the second parameter being 1. The saturation calculation can be done without floating point values. The "CLIP8"s are unnecessary because the values are already in the correct range. |
||
|---|---|---|
| .. | ||
| libImaging | ||
| PIL | ||
| thirdparty | ||
| Tk | ||
| _imaging.c | ||
| _imagingcms.c | ||
| _imagingft.c | ||
| _imagingmath.c | ||
| _imagingmorph.c | ||
| _imagingtk.c | ||
| _webp.c | ||
| decode.c | ||
| display.c | ||
| encode.c | ||
| map.c | ||
| outline.c | ||
| path.c | ||