get_image
get_image($src_path,$image_path,$x,$y,$width,$height); - get a new image - as part of the specified available since version 4.9.29
The function accepts parameters as input:
$src_path – path to the original image (can be relative)
$image_path – path to the new image(can be relative)
$x – x-coordinate of the beginning of the new image in the original
$y – y-coordinate of the beginning of the new image in the original
$width – width of the new image
$height – height of the new image
After testing, the function returns the result of its work to the script :
true – completed successfully (boolean)false – operation failed (boolean)