Why does a JPG get worse every time it's re-saved and re-uploaded? Lossy compression.
Compression makes files smaller. There are two kinds:
Lossy compression throws away detail your eye is unlikely to notice. Files get much smaller, but the lost data is gone for good, and every re-save loses a bit more.
Examples: JPG, lossy WebP, MP4 video, MP3 audio.
Best for: photos and video on the web.
Lossless compression packs the data more efficiently without losing anything. Decompress it and you get the exact original back.
Examples: PNG, lossless WebP, ZIP, FLAC.
Best for: text, screenshots, logos, and your master files.
Practical rules:
- Keep masters in a lossless or original format.
- Export lossy copies only at the end, for delivery.
- Never edit a JPG of a JPG of a JPG.