Closed vincenzocivale closed 11 months ago
composite = overlay( (background, background_offset), (product, product_offset), shape=background.shape )
background.shape
is not a valid canvas shape. Also make sure that all layers passed to overlay
are 2D RGBA images.
Anyway, it is not necessary to save an overlay image to TIFF. Any image of compatible shape and dtype should do.
I'm trying to create two layer tiff from two png with the script below:
But i recive error:
Please, someone can help me? I'm a newbie