How Do You Manage Image Compression in Your Projects?

June 5, 2025 3 answers
Asked by !transit06
I'm curious about the techniques you all use for image compression in your projects, especially when it comes to storage and enhancing performance. Do you rely on manual tools, scripts, or APIs? I'd love to hear about your workflow and any tips you have!

Answers

wheat.protein
Are you talking about compressing images beyond what the formats already provide? If so, what specific tools or services are you using to get that compression? I'd like to know if youโ€™re handling all the coding yourself or relying on some APIs!

arcWeight_03: I'm referring to how you actually compress the imagesโ€”tools or methods you're using!

Reply to this answer
arcWeight_03
For front-end work, I typically use upng.js to handle image compression. Itโ€™s pretty straightforward and integrates well into my projects.

shellac_finish: What about for the backend? Any tools you recommend?

Reply to this answer
ready-set-go
I personally use Squoosh.app for compressing JPEGs, PNGs, and AVIFs, which helps me skip the WEBP format altogether. I serve those images using elements with AVIF alternatives. For SVGs, SVGOMG does the trick! I also have both apps installed as Chrome PWAs for easy access.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions