f$BitmapCreate
f$BitmapCreate
Create an image while using a template to specify resolution and color depth of the image. If width and height are given, the dimensions of the image are modified.
The allowed image formats are Windows bitmap (.bmp), Portable Network Graphics (.png), Tagged Image File Format (.tif) or JPEG (.jpg).
Please note that, when entering a path in the file name, the character "\" must be entered twice ("\\").
If the image size is to be modified, width and height must be entered. It is not allowed to specify a concrete value to one of the two values and to set the other value to 0.
Syntax: | Status = f$BitmapCreate (Name, Template, Width, Height) German status = f$BitmapAnlegen (Name, Vorlage, Breite, Höhe) | ||
| Argument | Type | Meaning |
| Name | String | Name of the image to be created including path. |
| Template | String | Name of the image to be used as template. This image must already exist. |
| Width | Integer | Width of the image in pixels. If 0 is entered, the width of the template is used. |
| Height | Integer | Height of the image in pixels. If 0 is entered, the height of the template is used. |
Result: | Integer |
| |
Example: | Template = 'C:\\temp\\template.bmp' | ||