PHP | Gmagick getreleasedate() Function Last Updated : 29 Aug, 2019 Comments Improve Suggest changes Like Article Like Report The Gmagick::getreleasedate() function is an inbuilt function in PHP which is used to return the GraphicsMagick release date as a string. Syntax: string Gmagick::getreleasedate( void ) Parameters: This function does not accept any parameter. Return Value: This function returns the GraphicsMagick release date as a string. Errors/Exceptions: This function throws GmagickException on error. Below programs illustrates the Gmagick::getreleasedate() function in PHP: Program 1: php <?php // Create a Gmagick object $gmagick = new Gmagick( 'https://media.geeksforgeeks.org/wp-content/uploads/tech.png'); // Using getreleasedate() function print_r($gmagick->getreleasedate()); ?> Output: 2017-05-23 Program 2: php <?php // Create a GmagickDraw object $draw = new GmagickDraw(); // Create GmagickPixel object $strokeColor = new GmagickPixel('Red'); $fillColor = new GmagickPixel('Green'); // Set the color, opacity of image $draw->setStrokeOpacity(1); $draw->setStrokeColor('Red'); $draw->setFillColor('Green'); // Set the width and height of image $draw->setStrokeWidth(7); $draw->setFontSize(72); // Function to draw circle $draw->circle(250, 250, 100, 150); $gmagick = new Gmagick(); $gmagick->newImage(500, 500, 'White'); $gmagick->setImageFormat("png"); $gmagick->drawImage($draw); // Using getreleasedate() function print_r($gmagick->getreleasedate()); ?> Output: 2017-05-23 Reference: http://php.net/manual/en/gmagick.getreleasedate.php Comment More infoAdvertise with us Next Article PHP | Gmagick getreleasedate() Function S sarthak_ishu11 Follow Improve Article Tags : Web Technologies PHP Image-Processing PHP-function PHP-Gmagick +1 More Similar Reads PHP | Imagick getReleaseDate() Function The Imagick::getReleaseDate() function is an inbuilt function in PHP which is used to get the release date of ImageMagick. Syntax: string Imagick::getReleaseDate( void ) Parameters: This function doesnât accepts any parameter. Return Value: This function returns a string value containing the release 1 min read PHP | Gmagick getfilename() Function The Gmagick::getfilename() function is an inbuilt function in PHP which is used to get the filename associated with an image in Gmagick object. Syntax: string Gmagick::getfilename( void ) Parameters: This function doesnât accept any parameter. Return Value: This function returns an string value cont 1 min read PHP | Gmagick getImageMatte() Function The Gmagick::getImageMatte() function is an inbuilt function in PHP which is used to get the matte channel of an Gmagick object. Syntax: int Gmagick::getimagematte( void ) Parameters: This function does not accept any parameter. Return Value: This function returns True if image contains matte channe 1 min read PHP | Gmagick getsize() Function The Gmagick::getsize() function is an inbuilt function in PHP which is used to get the size associated with the Gmagick object. Syntax: array Gmagick::getsize( void ) Parameters: This function doesnât accept any parameter. Return Value: This function returns an associative array containing the keys 1 min read PHP | Gmagick getimagetype() Function The Gmagick::getimagetype() function is an inbuilt function in PHP which is used to get the image type. Syntax: int Gmagick::getimagetype( void ) Parameters: This function doesnât accept any parameters. Return Value: This function returns an integer value corresponding to one of the IMGTYPE constant 1 min read Like