The application of Macro.PL is not necessarily limited to generating HTML files.
In this example some script-fu is generated to be used with the image
manipulation program gimp.
The resulting script-fu, when executed, produces images that can be used as buttons etc.