The Imagick::appendImages() function is an inbuilt function in PHP which is used to append set of images. This function appends a set of images into a single image.
Imagick::appendImages( $stack )
Parameters: This function accepts a single parameters $stack which is mandatory. If the stack value is false then images stacked from left to right and if the stack value is true then image stacked from top to bottom. The default value of the stack is false.
Return Value: This function returns Imagick instance on success.
Errors/Exceptions: This function throws ImagickException on error.
Below programs illustrate the Imagick::appendImages() function in PHP:
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.