Why compress first
A casual phone photo is several megabytes; uploading it as-is slows your page, tests visitors' patience and hurts SEO — and many forums, forms and admin panels cap upload size anyway. Compressing first often shrinks a file to 20–30% of the original with no visible difference, saving a lot of bandwidth and waiting.