Cropping images should be easy
Let's begin with an AI written feature description of a modern image cropping function:
Nothing mind-blowing, just want to highlight one part:
If you asked me last week, hey man, how to implement cropping. My simple answer would be, just take the selected part of the image, create a new image with the size of the selected area, insert that selected area to the new image and finally replace the new image with the old one.
But then I learned about Acropalypse. TLDR: Google Pixel bug lets you “uncrop” the last four years of screenshots. My first thought, when reading the technical details was: WTF. How can any developer be so ... creative ....
But when you think, it cannot get worse. You realize that also Microsoft devs have smoked the best stuff.
Eh voila, we got a new Windows 11 0-day.