An instruction always begins with a colon (:) and ends at the latest with the first equals sign (=). Instructions never contain a slash (/) or a period (.). This means that file names such as :my.png or :dir/image are not instructions, but file names.
File names that start with a colon should always start with a path specification such as ./. This means that they are clearly recognizable as file names. This also applies to future extensions.
INSTRUCTION is a sequence of characters, but never contains a slash (/), a period (.) or an equal sign (=). OPTIONS is a comma separates list of 0 ore more keywords, or a string or file name.
| Commands | ||
|---|---|---|
| Command | Version | Description |
| 2.31a | Create an empty image of given size and color. Default size is 1x1 and default colors is transparent. | |
| 2.31a | ??? | |
:cupimage=image_names |
2.31a | ??? |
:cupicon=icon_string |
2.31a | ??? |
:cupfile=file |
2.31a | ??? |
| Arguments | |
|---|---|
| Argument | Description |
| It is either a simple integer that defines the side length of a square, or width 'x' height for the side lengths of a rectangle. | |
| A color with 6 hex-digits (format rrggbb = red,green,blue) or with 8 hex-digits (format rrggbbaa = red,green,blue,alpha). | |
| Font is either red or blue. | |
| ??? | |
| ??? | |
| ??? | |
| The filename of a file to load. | |