PHP | Imagick charcoalImage() Function Last Updated : 26 Aug, 2019 Comments Improve Suggest changes Like Article Like Report The Imagick::charcoalImage() function is an inbuilt function in PHP which is used to simulate a charcoal drawing of an image. Syntax: bool Imagick::charcoalImage( $radius, $sigma ) Parameters: This function accepts two parameters as mentioned above and described below: $radius: This parameter stores the value of radius of the Gaussian, in pixels. $sigma: This parameter stores the value of the standard deviation of the Gaussian, in pixels. Return Value: This function returns True on success. Original Image: Below program illustrates the Imagick::charcoalImage() function in PHP: Program: php <?php // require_once('path/vendor/autoload.php'); // Create a new Imagick Object $image = new Imagick( 'https://media.geeksforgeeks.org/wp-content/uploads/geeksforgeeks-14.png'); // Charcoal Image function $image->charcoalImage(0.2, 1); header('Content-type: image/png'); // Display the output image echo $image; ?> Output: Related Articles: PHP | Imagick rotateImage() Function PHP | Imagick transposeImage() Function Reference: http://php.net/manual/en/imagick.charcoalimage.php Comment More infoAdvertise with us Next Article PHP | Imagick charcoalImage() Function S sarthak_ishu11 Follow Improve Article Tags : Web Technologies PHP Image-Processing PHP-function PHP-Imagick +1 More Similar Reads PHP | Imagick cropImage() Function The Imagick::cropImage() function is an inbuilt function in PHP which is used to extracts the region of the image.Syntax:  int Imagick::cropImage( $width, $height, $x, $y ) Parameters: This function accept four parameters as mention above and describe below.  $width: This parameter is used to spec 2 min read PHP | Imagick drawImage() Function The Imagick::drawImage() function is an inbuilt function in PHP which is used to render the ImagickDraw object on the Imagick object. It is used to draw the image on the Imagick instance. We set an image matrix, parameters and the borders of the drawn image with the help of ImagickDraw methods and t 2 min read PHP | Imagick coalesceImages() Function The Imagick::coalscaleImages() function is an inbuilt function in PHP which is used to combined the set of images into single image. It composites a set of images with respect to any page offsets and disposal methods. The animation sequences GIF, MIFF, and MNG are typically start with an image backg 1 min read PHP | Imagick addImage() Function The Imagick::addImage() function is an inbuilt function in PHP which is used to adds new image to Imagick object image list. After the operation iterator position is moved at the end of the list. This function adds new image to Imagick object from the current position of the source object. The Imagi 1 min read PHP | Imagick colorizeImage() Function The Imagick::colorizeImage() function is an inbuilt function in PHP which is used to blends the fill color with each pixel in the image with a specified opacity. Syntax: bool Imagick::colorizeImage( mixed $colorize, mixed $opacity, bool $legacy = FALSE ) Parameters: This function accepts three param 2 min read Like