<?php $quality = 80; // jpeg quality -- the lower the num, the smaller the file size $imagewidth = $imagedata[0]; $imageheight = $imagedata[1]; $imagetype = $imagedata[2]; $shrinkage = 1; $dest_height = 75; $dest_width = 100; $src_img = imagecreatefromjpeg($plik); $dst_img = imageCreateTrueColor($dest_width, $dest_height); ImageCopyResampled($dst_img, $src_img, 0, 0, 0, 0, $dest_width, $dest_height, $imagewidth, $imageheight); imagejpeg($dst_img,$kat_ze_zdj."male_".$nazwa_img, $quality); imagedestroy($src_img); imagedestroy($dst_img); ?>
czy można to jakoś zoptymalizować żeby działało szybciej i sprawniej

pozdrawiam