imageCopyResampledBicubic

Description

Copies a rectangular portion of an image to another image. Used when imagecopyresampled isn't available (in 1.1 this function is called imagecopyresamplebicubic).

Syntax

void imageCopyResampledBicubic (resource $dst_img, resource $src_img, int $dst_x, int $dst_y, int $src_x, int $src_y, int $dst_w, int $dst_height, int $src_width, int $src_height)



Parameter $dst_img

Expected type: Resource
Description: The "destination image" created by imagecreatetruecolor or imagecreate



Parameter $src_img

Expected type: Resource
Description: The "source image" (see resizeImage())



Parameter $dst_x

Expected type: Integer
Description: The x coordinate of the upper-left-hand corner of destination image



Parameter $dst_y

Expected type: Integer
Description: The y coordinate of the upper-left-hand corner of the destination image



Parameter $src_x

Expected type: Integer
Description: The x coordinate of the upper-left-hand corner of the source image



Parameter $src_y

Expected type: Integer
Description: The y coordinate of the upper-left-hand corner of the source image



Parameter $dst_w

Expected type: Integer
Description: The width of the destination image



Parameter $dst_height

Expected type: Integer
Description: The height of the destination image



Parameter $src_width

Expected type: Integer
Description: The width of the source image



Parameter $src_height

Expected type: Integer
Description: The height of the source image


Notes

  • See http://www.php.net/imagecopyresampled for more info
  • This function has more parameters than any other function in SMF...
Advertisement: