imagecopyresampled

PHP 4 >= 4.0.6, PHP 5, PHP 7, PHP 8
imagecopyresampled - Copy and resize part of an image with resampling
Manual
Code Examples

Example #1 Simple example

PHP Version:

Example #2 Resampling an image proportionally

PHP Version:


Function imagecopyresampled:

Image Processing and GD Functions

Most used PHP functions