← All docs

imagecopymergegray()

Implemented by the compiler-injected image prelude.

imagecopymergegray()

function imagecopymergegray(mixed $dst_image, mixed $src_image, int $dst_x, int $dst_y, int $src_x, int $src_y, int $src_width, int $src_height, int $pct): 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)
  • $src_width (int)
  • $src_height (int)
  • $pct (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 imagecopymergegray is implemented in the compiler, see the internals page.