imghist
imghist copied to clipboard
colorBuckets NoneType
addHLSPixel: I appear to have a situation where the following test is true, since it is true the colorBuckets is not set, then the next access to colorBuckets reports TypeError: 'NoneType' object is no subscriptable.
if l < lightnessCutoff or l > (1 - lightnessCutoff) or s < saturationCutoff: return