Updated: September 30, 2021.
Github source code: [Click me to get the source code]
index
Pixel pixelation
The pixelation effect is the result of the so-called downsampling, which is very common on some low-end devices, such as the Xiaobawang red and white machine in the 1990s, which is a compromise in performance due to insufficient hardware performance. Today , we can also reduce a high-pixel image to low-pixel by downsampling:
Idea analysis
The essence of low pixelation is to reduce the resolution of the picture. For example, if the pixel size of a picture is 100*100
, if we reduce it to 20*20
, then the content of the remaining 80*80
pixels will be lost. When the picture is still 100*100
displayed in the same size as When region is drawn &