DEV Community

Cover image for How to optimize a picture with no quality loss? 🤔
Eldar Dautović
Eldar Dautović

Posted on

How to optimize a picture with no quality loss? 🤔

Why do we optimize a picture? ❓

We optimize pictures in order to have better performance and smaller loading times when accessing the website.

How do we optimize a picture without loosing any of its quality? 🤯

There is a lot of picture compressors these days but the best I have used so far is TinyPNG. It helped me a lot when dealing with big hero section pictures. It shrinks down an image enormously and with that it helps you load images faster then you did before!

alt text

Top comments (2)

Collapse
 
corentinbettiol profile image
Corentin Bettiol

There are command line tools available as well.

Collapse
 
eldardautovic profile image
Eldar Dautović

Yes ! You are right. It is also a good solution.