diff --git a/webknossos/Changelog.md b/webknossos/Changelog.md index a3b97f8bd..3b17e2ea6 100644 --- a/webknossos/Changelog.md +++ b/webknossos/Changelog.md @@ -13,6 +13,7 @@ For upgrade instructions, please check the respective _Breaking Changes_ section [Commits](https://github.com/scalableminds/webknossos-libs/compare/v0.15.2...HEAD) ### Breaking Changes +- Conversion of images with 4 channels creates a dataset with four layers instead of a dataset with one RGB layer. [#1192](https://github.com/scalableminds/webknossos-libs/pull/1192) ### Added diff --git a/webknossos/webknossos/dataset/dataset.py b/webknossos/webknossos/dataset/dataset.py index f9b65e5ac..0f82d737d 100644 --- a/webknossos/webknossos/dataset/dataset.py +++ b/webknossos/webknossos/dataset/dataset.py @@ -787,6 +787,7 @@ def from_images( batch_size=batch_size, allow_multiple_layers=True, max_layers=max_layers - len(ds.layers), + truncate_rgba_to_rgb=False, executor=executor, )