About image compression(1)
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
- understand the project structure Iโm using
- research relevant libraries
- select the right libraries for my project
- test the libraries and investigate how many of their maximum size can be reduced to the required {num}MB each
- check the average size of images rendered on the current service
- select applicable libraries and test them
- compress existing uploaded images
- 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.