PHP GetImageCompose () Imagick function

PHP

Syntax:
int Imagick::getImageCompose (void)
Parameters:This function takes no parameters.Return Value:This function returns TRUE on success.The following programs illustrate the Imagick::getImageCompose() functionin PHP:Program 1:  
// Create a new Imagick object $imagick = new Imagick ( ' https://media.engineerforengineer.org/wp-content/ uploads / engineerforengineer-13.png ' );  
// Get Compose $compose = $imagick -> getImageCompose(); echo $compose ; ?>
Output:
40
Program 2:  
// Create a new Imagick object $imagick = new Imagick ( ' https://media.engineerforengineer.org/wp-content/uploads/engineerforengineer-13.png ' );  
// Install Compose $imagick -> setImageCompose (70);  
// Get Compose $compose = $imagick -> getImageCompose(); echo $compose ; ?>
Output:
70
Link: https:// www .php.net / manual / en / imagick.getimagecompose.php



Get Solution for free from DataCamp guru