Change language

PHP Imagick deleteImageArtifact () Function

| |
Syntax:
bool Imagick::deleteImageArtifact (string $artifact)
Parameters:This function takes one parameter, $artifact,which contains the name of the artifact.Return value:This function returns TRUE on success.Errors / Exceptions:this function throws a exceptionImagickException on error.The program below illustrates function Imagick::deleteImageArtifact()in PHP:Program : < ? php  
// Create a new Imagick object $imagick = new Imagick ( https://media.engineerforengineer.org/wp-content/uploads/engineerforengineer-9.png );  
// Use the setImageArtifact() function to create the artifact $imagick -> setImageArtifact ( "artifact_name" , "artifact_value" );  
// Use the deleteImageArtifact() function to remove the artifact $imagick -> deleteImageArtifact ( "artifact_name" );  
?>
Output:
A Database Error Occurred
Link: https://www.php.net/manual/en/imagick.getimageartifact.php
SO 1 data error