PHP | Imagick vignetteImage() Function Last Updated : 26 Aug, 2019 Comments Improve Suggest changes Like Article Like Report The Imagick::vignetteImage() function is an inbuilt function in PHP which is used to add a vintage filter to the image. This function illustrates or portrait an image which fades into its background without a definite border. Syntax: bool Imagick::vignetteImage( $blackPoint, $whitePoint, $x, $y ) Parameters: This function accepts four parameters as mentioned above and described below: $blackPoint: This parameter is used to store the value of black point. $whitePoint: This parameter is used to store the value of white point. $x: This parameter stores the value of the X offset of the ellipse. $y: This parameter stores the value of the Y offset of the ellipse. Return Value: This function returns True on success. Original Image: Below program illustrates the Imagick::vignetteImage() function in PHP: Program: php <?php // require_once('path/vendor/autoload.php'); // Create an Imagick Object $imagick = new Imagick( 'https://media.geeksforgeeks.org/wp-content/uploads/geeksforgeeks-12.png'); // vignetteImage Function $imagick->vignetteImage(35.6, 11.8, 40, 15); // Image Header header("Content-Type: image/jpg"); // Display image echo $imagick->getImageBlob(); ?> Output: Related Articles: PHP | Imagick transposeImage() Function PHP | Imagick rotateImage() Function Reference: http://php.net/manual/en/imagick.vignetteimage.php Comment More infoAdvertise with us Next Article PHP | Imagick vignetteImage() Function S sarthak_ishu11 Follow Improve Article Tags : Web Technologies PHP Image-Processing PHP-function PHP-Imagick +1 More Similar Reads PHP | Imagick writeImage() Function The Imagick::writeImage() function is an inbuilt function in PHP which is used to write an image to the specified filename. This function saves the image file in the same folder where your PHP script is located. Syntax: bool Imagick::writeImage( string $filename = NULL ) Parameters: This function ac 1 min read PHP | Imagick waveImage() Function The Imagick::waveImage() function is an inbuilt function in PHP which is used to create the wave filter in an image. This function is available in the version 6.2.9 or newer. Syntax: bool Imagick::waveImage( $amplitude, $length ) Parameters: This function accepts two parameters as mentioned above an 1 min read PHP | Imagick rotateImage() Function The Imagick::rotateImage() function is an inbuilt function in PHP which is used to rotate an image by a given angle and the empty spaces filled with given color. Syntax: bool Imagick::rotateImage( $background, $degrees ) Parameters: This function accepts two parameters as mentioned above and describ 1 min read PHP | Imagick textureImage() Function The Imagick::textureImage() function is an inbuilt function in PHP which creates repeatedly tiles the texture image. Syntax: Imagick Imagick::textureImage( $texture_wand ) Parameter: This function accepts single parameter $texture_wand. It is an Imagick object to use as texture image. Return Value: 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