Grant Custer
work March 10, 2020
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!
from https://stackoverflow.com/a/45579688