Function __global->imagecopyresized

Definitions

sources_custom/phpstub.php

  • Copy and resize part of an image.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$dst_im resource No No required parameter N/A N/A Destination image handle
$src_im resource No No required parameter N/A N/A Source image handle
$dst_x integer No No required parameter N/A N/A Destination X-ordinate
$dst_y integer No No required parameter N/A N/A Destination Y-ordinate
$src_x integer No No required parameter N/A N/A Source X-ordinate
$src_y integer No No required parameter N/A N/A Source Y-ordinate
$dst_w integer No No required parameter N/A N/A Destination width
$dst_h integer No No required parameter N/A N/A Destination height
$src_w integer No No required parameter N/A N/A Source width
$src_h integer No No required parameter N/A N/A Source height

Preview

Code (PHP)

/**
 * Copy and resize part of an image.
 *
 * @param  resource $dst_im Destination image handle
 * @param  resource $src_im Source image handle
 * @param  integer $dst_x Destination X-ordinate
 * @param  integer $dst_y Destination Y-ordinate
 * @param  integer $src_x Source X-ordinate
 * @param  integer $src_y Source Y-ordinate
 * @param  integer $dst_w Destination width
 * @param  integer $dst_h Destination height
 * @param  integer $src_w Source width
 * @param  integer $src_h Source height
 */

function imagecopyresized($dst_im, $src_im, int $dst_x, int $dst_y, int $src_x, int $src_y, int $dst_w, int $dst_h, int $src_w, int $src_h)