Made some tests with rastering techniques. This one has been rastered in GIMP and then imported to Inkscape where I did Path-Trace. So it is a true vector image although it looks like raster. mahatma gandhi raster graphics dithering Gandhi (raster effect)
A diagram to show how nine patch scaling is applied to a raster image (bitmap). graphics scaling raster Nine Patch Scaling