Add raster layer and read layer transparency