Creating and editing raster graphics