ColorArt icon indicating copy to clipboard operation
ColorArt copied to clipboard

Not picking up white backgrounds properly.

Open PadraigK opened this issue 11 years ago • 1 comments

This image http://thisamericanlife.org/sites/all/themes/thislife/images/logo-square-1400.jpg has a white background. The original Mac ColorArt class detects it correctly, however, the background color comes out grey from the iOS version.

PadraigK avatar Jul 27 '13 01:07 PadraigK

Weird hack, but I got around this problem by multiplying the RGB by 256, flooring it and checking it against RGB(224, 224, 224).

rweichler avatar Sep 25 '13 21:09 rweichler