Works with raster and vector images