3 ms·
The Flameshot screenshot tool uses an interesting variant of pixelation that does protect the text from unredaction: https://github.com/flameshot-org/flameshot/
by alright2565 10mo ago
The Flameshot screenshot tool uses an interesting variant of pixelation that does protect the text from unredaction: https://github.com/flameshot-org/flameshot/commit/533a1b7d55d3b50d8ccbc91b1abde8a87886034a https://github.com/flameshot-org/flameshot/commit/533a1b7d55...
> Since pixelation does not protect the contents of the pixelated area (see e.g. https://github.com/bishopfox/unredacter https://github.com/bishopfox/unredacter), _pseudo-pixelation_ is used:
> Only colors from the fringe of the selected area are used to generate a pixelation-like effect. The interior of the selected area is not used as an input at all and hence can not be recovered.
The edges of the pixelated area are used the generate a color palette, and then each pixel is generated by randomly sampling from that pallete's gradient.