rasterToAmigaBasicShape function

Convert a grDevices raster object into an AmigaBasicShape class object.