3 upvotes, 2 direct replies (showing 2)
View submission: What If?: Ink Molecules
For the "161 pixels," is he saying there are 161 pixels in the number 161 in that font?
Comment by anossov at 24/07/2014 at 14:58 UTC*
7 upvotes, 0 direct replies
There are 161 black pixels in this image: http://what-if.xkcd.com/imgs/a/106/pixels.png
Fun fact: Randall was a little sloppy and left some pixels that are black, but transparent. There are 161 black non-transparent pixels, 917 black transparent pixels and 1962 white transparent pixels.
In [54]: i = requests.get('http://what-if.xkcd.com/imgs/a/106/pixels.png').content In [55]: io = StringIO(i) In [56]: im = Image.open(io) In [57]: im.getcolors() Out[57]: [(1962, (255, 0)), (161, (0, 255)), (917, (0, 0))]
Comment by sparr at 24/07/2014 at 15:01 UTC
1 upvotes, 0 direct replies
In the string "161 pixels"