Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Magnify image by integral size.

Component Version macOS Windows Linux Server iOS SDK
GraphicsMagick 2.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "GMImage.Magnify"; ImageRef )   More


Parameter Description Example
ImageRef The image reference number. 1


Returns "OK" on success.


Magnify image by integral size.
Increases image size to 200%.


Magnificates an image:

# load images...
Set Variable [ $Image ; Value: MBS( "GMImage.NewFromFile"; "/Users/cs/Pictures/IMG_3625.jpg") ]
# put first on second
Set Variable [ $r ; Value: MBS( "GMImage.Magnify"; $Image) ]
# magnify image
Set Variable [ $r ; Value: MBS( "GMImage.WriteToFile"; $Image; "/Users/cs/Pictures/output.jpg") ]
# free memory
Set Variable [ $r ; Value: MBS( "GMImage.Release"; $Image) ]

See also

This function checks for a license.

Created 18th August 2014, last changed 11st December 2019

GMImage.MagickVersion - GMImage.Map