Closed tdmorello closed 2 years ago
Fixes a problem where Labels layers could not be cropped.
The crop_region function was looking for layer_props["rgb"] raising a KeyError with Labels layers.
crop_region
layer_props["rgb"]
KeyError
Also, adding a test for cropping Labels.
Awesome, thanks @tdmorello !
Fixes a problem where Labels layers could not be cropped.
The
crop_region
function was looking forlayer_props["rgb"]
raising aKeyError
with Labels layers.Also, adding a test for cropping Labels.