imagecopyresized

Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Copy and resize part of an image
<?php imagecopyresized(    GdImage $dst_image,    GdImage $src_image,    int $dst_x,    int $dst_y,    int $src_x,    int $src_y,    int $dst_width,    int $dst_height,    int $src_width,    int $src_height): bool