
25 Mar
2023
25 Mar
'23
7:33 p.m.
On Tue, 21 Mar 2023 13:22:49 +1300, Peter Reutemann quoted:
'The basic gist of the problem is that Google's screenshot editor overwrites the original screenshot file with your new edited screenshot, but it does not truncate or recompress that file in any way. If your edited screenshot has a smaller file size than the original -- that's very easy to do with the crop tool -- you end up with a PNG with a bunch of hidden junk data at the end of it. That junk data is made up of the end bits of your original screenshot, and it's actually possible to recover that data.'
Turns out Microsoft has its own version of the exact same problem <https://www.theregister.com/2023/03/24/microsoft_snipping_tool_fix/>.