From 6e0001af5e6ed0814625c3c89bf3f22488996dc2 Mon Sep 17 00:00:00 2001 From: Etienne Kneuss Date: Thu, 6 Dec 2007 01:17:30 +0000 Subject: [PATCH] Add clarity + para on imagecopyresized git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@247682 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/image/functions/imagecopyresampled.xml | 11 ++++++++++- reference/image/functions/imagecopyresized.xml | 13 ++++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/reference/image/functions/imagecopyresampled.xml b/reference/image/functions/imagecopyresampled.xml index 388b7fc5e0..c0b726fe1f 100644 --- a/reference/image/functions/imagecopyresampled.xml +++ b/reference/image/functions/imagecopyresampled.xml @@ -1,5 +1,5 @@ - + imagecopyresampled @@ -26,6 +26,15 @@ values so that, in particular, reducing the size of an image still retains a great deal of clarity. + + In other words, imagecopyresampled will take an + rectangular area from src_image of width + src_w and height src_h at + position (src_x,src_y) + and place it in a rectangular area of dst_image + of width dst_w and height dst_h + at position (dst_x,dst_y). + If the source and destination coordinates and width and heights differ, appropriate stretching or shrinking of the image fragment diff --git a/reference/image/functions/imagecopyresized.xml b/reference/image/functions/imagecopyresized.xml index 0c05202d1b..395092063e 100644 --- a/reference/image/functions/imagecopyresized.xml +++ b/reference/image/functions/imagecopyresized.xml @@ -1,5 +1,5 @@ - + imagecopyresized @@ -25,6 +25,17 @@ portion of one image to another image. dst_image is the destination image, src_image is the source image identifier. + + + In other words, imagecopyresized will take an + rectangular area from src_image of width + src_w and height src_h at + position (src_x,src_y) + and place it in a rectangular area of dst_image + of width dst_w and height dst_h + at position (dst_x,dst_y). + + If the source and destination coordinates and width and heights differ, appropriate stretching or shrinking of the image fragment will be performed. The coordinates refer to the upper left