Contents

About image compression(1)

   Jun 22, 2023     0 min read

This is an article about Image Compression.

Package Manager

For example, letโ€™s say we want to apply compression to our service for images used in the service and for images that will be uploaded in the future.

What is the ideal design?

To me, an ideal design looks like this

  1. understand the project structure Iโ€™m using
  2. research relevant libraries
  3. select the right libraries for my project
  4. test the libraries and investigate how many of their maximum size can be reduced to the required {num}MB each
  5. check the average size of images rendered on the current service
  6. select applicable libraries and test them
  7. compress existing uploaded images
  8. compress future uploaded images

Where should image compression be done? Before actually applying it, I was wondering where image compression should be performed in general (client or server). Weโ€™ll cover that in part 2.