All functions
Mac OS X
Windows
Crossplatform
Server
Components
Guides
Statistic
New in version:
2.0
2.1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
2.9
3.0
3.1
3.2
GMImage.New
Component: GraphicsMagick
Version: 2.0
Mac OS X: Works
Windows: Works
Server: Works
MBS( "GMImage.New"; Geometry; Color )
Parameters
| Parameter | Description | Example value |
|---|---|---|
| Geometry | The rectangle. Geometry is specified as a width and height "100x200". With an optional offset "100x200+10+20". For percent values, add a percent on the end, for % values add a %: "100x200%!" | "100x200" |
| Color | A color value. This can be a string in the following format "HSL h s l a", "YUV y u v a", "RGB r g b a", "MONO m a", "GRAY g a" or "COLOR R G B a". Alpha value a is optional. Range of values is 0 to 1.0 except if you use COLOR where RGB values are 0 to 255. | "RGB 1 0 0" |
Result
Returns the ImageRef number on success.
Description
Construct a blank image canvas of specified size and color.Please call GMImage.Destroy later to free memory for this image.
Feedback: Report problem or ask question.
Links
MBS Real Studio Chart Plugins - Pfarrgemeinde Ministranten Nickenich