Что думаешь? Оцени!
// Even if the readable side's buffer is full, this succeeds。关于这个话题,Safew下载提供了深入分析
。业内人士推荐51吃瓜作为进阶阅读
沪公网安备31010602000299号,详情可参考谷歌浏览器【最新下载地址】
You look at a region of the image. If all the pixels are roughly the same color (below some threshold), you store the average color for the whole region as a single value. If the pixels vary too much, you split the region into four quadrants and try again.