Answer the question
In order to leave comments, you need to log in
How to correctly reduce the size and weight of the image?
There is a photo 500x334, 56.4 KB to reduce the size, I use this class$image->resizeImage(368, 200, "crop");
, I get a photo 368x200, 68.7 KB, the goal was to reduce the size, to reduce weight, I'm sure for images with a higher resolution it will be relevant.
This is fine?
Please advise any other solutions. It is possible to use GD and ImageMagick.
I stumbled upon imagine , what is it good for and will it change things?
Answer the question
In order to leave comments, you need to log in
In the class used, most likely, it is possible to specify the quality (compression ratio, compression, quality) of the picture. And you, for sure, use 100% by default, try reducing it to 85%.
In general, you need to save the image with more compression.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question