Friday, June 12, 2026
HomeLanguagesPHP | Imagick getCopyright() Function

PHP | Imagick getCopyright() Function

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 
/*require_once('vendor/autoload.php');*/ 
  
/*Imagick Object*/
  
$image = new \Imagick();
  
/*Copyright of current Imagick Library*/
  
$string = $image->getCopyright();
  
/*String*/
  
echo $string;
?>


Output:

© 1999-2017 ImageMagick Studio LLC

Reference: http://php.net/manual/en/imagick.getcopyright.php

Whether you’re preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, neveropen Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we’ve already empowered, and we’re here to do the same for you. Don’t miss out – check it out now!
RELATED ARTICLES

Most Popular

Dominic
32515 POSTS0 COMMENTS
Milvus
131 POSTS0 COMMENTS
Nango Kala
6897 POSTS0 COMMENTS
Nicole Veronica
12013 POSTS0 COMMENTS
Nokonwaba Nkukhwana
12109 POSTS0 COMMENTS
Shaida Kate Naidoo
7019 POSTS0 COMMENTS
Ted Musemwa
7262 POSTS0 COMMENTS
Thapelo Manthata
6976 POSTS0 COMMENTS
Umr Jansen
6964 POSTS0 COMMENTS