Meet us at at Real World in Orlando, Florida.

All functions   Mac OS X   Windows   Crossplatform   Components   Guides  
New in version: 2.0   2.1   2.2   2.3   2.4   2.5   2.6   2.7   2.8  

GMImage.WriteToFile

Component: GraphicsMagick
Version: 2.0
Mac OS X: Works
Windows: Works

MBS( "GMImage.WriteToFile"; ImageRef; Path )

Parameters

Parameter Description Example value
ImageRef The image reference (a number returned from the GMImage.New functions) 1
Path A platform specific filepath where to write the image. "C:\Test.txt"

Result

Returns "OK" on success.

Description

Write single image frame to a file.

Examples

Save file to Bob's desktop as GIF file on Mac OS X:

MBS( "GMImage.WriteToFile"; $BigImageRef; "/Users/Bob/Desktop/test.gif" )

Save file to Bob's desktop as JPG file on Windows:

MBS( "GMImage.WriteToFile"; $BigImageRef; "C:\Data\logo.jpg" )

Feedback: Report problem or ask question.




Links
MBS Realbasic PDF Plugins - Christians Software aus Nickenich