PHP | Imagick magnifyImage() Function Last Updated : 26 Aug, 2019 Comments Improve Suggest changes Like Article Like Report The Imagick::magnifyImage() function is an inbuilt function in PHP which is used to scale an image proportionally to 2x. This function scales an image into twice of its original size. Syntax: bool Imagick::magnifyImage( void ) Parameters: This function does not accept any parameter. Return Value: This function returns True on success. Original Image: Below program illustrates the Imagick::magnifyImage() function in PHP: Program: php <?php /*require_once('path/vendor/autoload.php');*/ // Create an Imagick Object $image = new Imagick( 'https://media.geeksforgeeks.org/wp-content/uploads/geeksforgeeks-12.png'); // Magnify Image $image->magnifyImage(); // Image Header header("Content-Type: image/jpg"); // Display the image echo $image; ?> Output: Related Articles: PHP | Imagick annotateImage() Function PHP | Imagick transposeImage() Function Reference: http://php.net/manual/en/imagick.magnifyimage.php Comment More infoAdvertise with us Next Article PHP | Imagick magnifyImage() Function sarthak_ishu11 Follow Improve Article Tags : Web Technologies PHP Image-Processing PHP-function PHP-Imagick +1 More Similar Reads PHP | Gmagick magnifyimage() Function The Gmagick::magnifyimage() function is an inbuilt function in PHP which is used to scale an image proportionally to 2x. This function scales an image into twice of its original size.Syntax:  public Gmagick::magnifyimage( void ) Parameters: This function does not accept any parameter.Return Value: 1 min read PHP | Imagick minifyImage() Function The Imagick::minifyImage() function is an inbuilt function in PHP which is used to scale an image proportionally to half of its size. This function resizes the image into one-half of its original size. Syntax:  bool Imagick::minifyImage( void ) Parameters: This function does not accepts any paramet 1 min read PHP | Gmagick minifyimage() Function The Gmagick::minifyimage() function is an inbuilt function in PHP which is used to scale an image proportionally to half of its original size. This function resizes the image into one-half of its original size.Syntax:  Gmagick Gmagick::minifyimage( void ) Parameters: This function does not accepts 1 min read PHP | Imagick mapImage() Function The Imagick::mapImage() function is an inbuilt function in PHP which is used to replace the colors of an image with the closest color from a reference image. Syntax: bool Imagick::mapImage( Imagick $map, float $dither ) Parameters: This function accepts two parameters as mentioned above and describe 1 min read PHP | Imagick normalizeImage() Function The Imagick::normalizeImage() function is an inbuilt function in PHP which is used to enhances the contrast of a color image by adjusting the color of the pixel to span the entire range of colors available. Syntax: bool Imagick::normalizeImage( $channel ) Parameters: This function accepts a single p 1 min read PHP | Imagick medianFilterImage() Function The Imagick::medianFilterImage() function is an inbuilt function in PHP which applies a digital filter that improves the quality of a noisy image. Syntax: bool Imagick::medianFilterImage( float $radius ) Parameters: The function accepts a single parameter $radius which holds the radius of the pixel 1 min read PHP | Imagick modulateImage() Function The Imagick::modulateImage() function is an inbuilt function in PHP which is used to control the brightness, saturation, and hue of an image. Syntax: bool Imagick::modulateImage( $brightness, $saturation, $hue ) Parameters: This function accepts three parameters as mentioned above and described belo 1 min read PHP Imagick morphImages() Function The Imagick::morphImages function is an inbuilt function in PHP that is used to morph a set of images. The image pixels and size of the image are linearly interpolated to give the appearance of metamorphosis from one image to the next. Syntax: Imagick Imagick::morphImages( $number_frames )Parameters 1 min read PHP | Imagick optimizeImageLayers() Function The Imagick::optimizeImageLayers() function is an inbuilt function in PHP which is used to remove the repeated portions of images to optimize. This function compares each image the GIF disposed forms of the previous image in the sequence. Syntax: bool Imagick::optimizeImageLayers( void) Parameters: 1 min read PHP | Imagick importImagePixels() Function The Imagick::importImagePixels() function is an inbuilt function in PHP which is used to import pixels from an array into an image. Syntax: bool Imagick::importImagePixels( int $x, int $y, int $width, int $height, string $map, int $storage, array $pixels ) Parameters: This function accepts seven par 2 min read Like