Creates image file of given dimensions and color with GraphicsMagick.
The function returns the following error codes:
E_EXIST if the image file already exists.E_IO if calling GraphicsMagick failed.| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | path |
Image file path. |
||
| integer, | intent(in) | :: | width |
Image width. |
||
| integer, | intent(in) | :: | height |
Image height. |
||
| character(len=*), | intent(in), | optional | :: | color |
Background color. |