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