
Not really sure where this is going.
![]()
Split into 16x16 tiles, sort by complexity, preserve most complex 1/8, reduce less complex tiles to average-color, further reduce to four-color palette -- there's something here but I'm not there yet.

I wanted to calculate entropy per 16x16 tile in this image. Someone suggested just using compression size as a proxy. So I used canvas toDataURL() and counted the characters. It works!