Converts opaque pixels of a copy with at most 512 px on the long side to CIELAB ...
https://bild.halowerk.com/v1/color-castOverview
Converts opaque pixels of a copy with at most 512 px on the long side to CIELAB (D65, IEC 61966-2-1). Near-neutral reference: mean shift in the a*b* plane starting at (0, 0) with neutral_radius (default 12; the first step uses radius 25 only when fewer than 1 % of the pixels lie within it), centre kept within C* 25, over pixels with L* 20–95; at least 1 % of the pixels must belong to it.