PHP | Imagick minifyImage() Function Last Updated : 09 Nov, 2020 Comments Improve Suggest changes Like Article Like Report 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 parameters. Return Value: This function returns True on success. Original Image Below program illustrates the Imagick::minifyImage() 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'); // Function to Minify Image $image->minifyImage(); // Image Header header("Content-Type: image/jpg"); // Display image echo $image; ?> Output: Related Articles: PHP | Imagick autoLevelImage() FunctionPHP | Imagick addNoiseImage() Function Reference: http://php.net/manual/en/imagick.minifyimage.php Comment More infoAdvertise with us Next Article PHP | Imagick minifyImage() Function S sarthak_ishu11 Follow Improve Article Tags : Web Technologies PHP Image-Processing PHP-function PHP-Imagick +1 More Similar Reads 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 magnifyImage() Function 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: Th 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 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 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 Like