Syntax:bool Imagick::deleteImageProperty (string $name)
Parameters:This function takes one parameter
$name,which contains the name of the property.
Return value:This function returns TRUE on success.
Errors / Exceptions:this function throws a
exceptionImagickException on error.The program below illustrates
function Imagick::deleteImageProperty()in PHP:
Program : < ? php
// Create a new Imagick object
$imagick
=
new
Imagick (
’ https://media.engineerforengineer.org/wp-content/uploads/engineerforengineer-9.png ’
);
// Use setImageProperty() function to create property
$imagick
-> setImageProperty (
"property_name"
,
"property_value"
);
// Use the deleteImageProperty() function to remove this property
$imagick
-> deleteImageProperty (
"property_name"
);
?>
Output: This program removes the image property
Link: https://www.php.net/manual/en/imagick.deleteimageproperty.php