www/source/incantation.msl
raw| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <image size="400x400"> |
| 3 | <read filename="image.gif" /> |
| 4 | <get width="base-width" height="base-height" /> |
| 5 | <resize geometry="%[dimensions]" /> |
| 6 | <get width="width" height="height" /> |
| 7 | <print output="Image sized from %[base-width]x%[base-height] to %[width]x%[height].\n" /> |
| 8 | <write filename="image.png" /> |
| 9 | </image> |