Comment by yazzku
3 years ago
Great find.
"The end result is that the image file is opened without the O_TRUNC flag, so that when the cropped image is written, the original image is not truncated. If the new image file is smaller, the end of the original is left behind."
RIP
No comments yet
Contribute on Hacker News ↗