PHP | Imagick getCopyright() Function
Last Updated :
26 Aug, 2019
The Imagick::getCopyright() function is an inbuilt function in PHP which is used to returns the current ImageMagick API copyright which is used as a string.
Syntax:
string Imagick::getCopyright( void )
Parameter: This function does not accept any parameter.
Return Value: This function returns a string that contain the copyright notice of ImageMagick and Magickwand C API.
Below program illustrates the Imagick::getCopyright() function() in PHP:
Program:
<?php
$image = new \Imagick();
$string = $image ->getCopyright();
echo $string ;
?>
|
Output:
© 1999-2017 ImageMagick Studio LLC
Reference: http://php.net/manual/en/imagick.getcopyright.php
Share your thoughts in the comments
Please Login to comment...