imageaffinematrixconcat
PHP 5 >= 5.5.0, PHP 7, PHP 8
imageaffinematrixconcat - Concatenate two affine transformation matrices
Manual
imageaffinematrixconcat(
array$matrix1,
array$matrix2 ): array|false
Returns the concatenation of two affine transformation matrices, what is useful if multiple transformations should be applied to the same image in one go.
Parameters
- matrix1
-
An affine transformation matrix (an array with keys 0 to 5 and float values).
- matrix2
-
An affine transformation matrix (an array with keys 0 to 5 and float values).
Return Values
An affine transformation matrix (an array with keys 0 to 5 and float values) or false on failure.