From Dev.to
How to Compress an Image to a Specific KB Size Without Obvious Quality Loss
A website, application, or email form may reject a photo that is larger than its file-size limit. If the limit is 100 KB, the practical goal is to create a clear image that comes in at or below 100 KB...
