A scripting language to create and analyse raster images