PHP | Imagick solarizeImage() Function Last Updated : 26 Aug, 2019 Comments Improve Suggest changes Like Article Like Report The Imagick::solarizeImage() function is an inbuilt function in PHP which is used to applies a solarizing effect to the image. The image effect achieved in a photo darkroom by selectively exposing areas of photo sensitive paper to light. Syntax: bool Imagick::solarizeImage( $threshold ) Parameters: This function accepts a single parameter $threshold which is used to measure of the extent of the solarization. Return Value: This function returns True on success. Below program illustrates the Imagick::solarizeImage() function in PHP: Program: php <?php // Create an Imagick object $imagick = new Imagick( 'https://media.geeksforgeeks.org/wp-content/uploads/geeksforgeeks-9.png'); // Use solarizeImage image $imagick->solarizeImage(0.2); header("Content-Type: image/jpg"); // display the image content echo $imagick->getImageBlob(); ?> Output: Related Articles: PHP | Imagick shadeImage() Function PHP | Imagick getImageGamma() Function Reference: http://php.net/manual/en/imagick.solarizeimage.php Comment More infoAdvertise with us Next Article PHP | Imagick solarizeImage() Function V vijay_raj Follow Improve Article Tags : Misc Web Technologies PHP Image-Processing PHP-function PHP-Imagick +2 More Practice Tags : Misc Similar Reads PHP | Gmagick solarizeimage() Function The Gmagick::solarizeimage() function is an inbuilt function in PHP which is used to apply to solarize effect on the image. The image effect achieved in a photo darkroom by selectively exposing areas of photosensitive paper to light. Syntax:  Gmagick Gmagick::solarizeimage ( $threshold ) Parameters 1 min read PHP | Imagick resizeImage() Function The Imagick::resizeImage() function is an inbuilt function in PHP which is used to scale an image to the desired dimensions. Syntax: bool Imagick::resizeImage( int $columns, int $rows, int $filter, float $blur, bool $best_fit = false, bool $legacy = false ) Parameters: This function accepts six para 2 min read PHP | Imagick spliceImage() Function The Imagick::spliceImage() function is an inbuilt function in PHP which is used to splices a solid color into the image. Syntax: bool Imagick::spliceImage( $width, $height, $x, $y ) Parameters: This function accepts four parameters as mentioned above and described below: $width: This parameter is us 1 min read PHP | Imagick posterizeImage() Function The Imagick::posterizeImage() function is an inbuilt function in PHP which is used to reduces the image to a limited number of color level. Syntax: bool Imagick::posterizeImage( $levels, $dither ) Parameters: This function accepts two parameters as mentioned above and described below: $levels: This 1 min read PHP | Imagick::shaveImage() Function The Imagick::shaveImage() function is an inbuilt function in PHP which is used to shaves pixels from the image edges. It allocates the memory necessary for the new Image structure and returns a pointer to the new image. Syntax: bool Imagick::shaveImage( $columns, $rows ) Parameters: This function ac 1 min read Like