imagecopyresized()
function imagecopyresized(mixed $dst_image, mixed $src_image, int $dst_x, int $dst_y, int $src_x, int $src_y, int $dst_width, int $dst_height, int $src_width, int $src_height): bool
Implemented by the compiler-injected image prelude.
Parameters:
$dst_image(mixed)$src_image(mixed)$dst_x(int)$dst_y(int)$src_x(int)$src_y(int)$dst_width(int)$dst_height(int)$src_width(int)$src_height(int)
Returns: bool
Availability
- Compiled (AOT): supported through the compiler-injected image prelude.
eval()(magician interpreter): not available inside eval’d code.
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how imagecopyresized is implemented in the compiler, see the internals page.