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.
bool Imagick::magnifyImage( void )
Parameters: This function does not accept any parameter.
Return Value: This function returns True on success.
Below program illustrates the Imagick::magnifyImage() 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.