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.
Gmagick Gmagick::minifyimage( void )
Parameters: This function does not accepts any parameters.
Return Value: This function returns Gmagick object on success.
Errors/Exceptions: This function throws GmagickException on error.
Below programs illustrates the Gmagick::minifyimage() function in PHP:
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.