Hello. I attached the image to the comment, but the photos themselves are of original size and their weight can be very large. I want to reduce the size of the photo both in weight and in size (approximately 400x400) in php. Who and what can tell?
3 answers
http://php.net/manual/en/function.imagejpeg.php - quality at 0 and rejoice). And look at the same left image resizing function.
|
copies and resizes part of the image with resampling
|
Here's the info you need: complex image scaling in PHP !
|