diff --git a/maps4fs/generator/texture.py b/maps4fs/generator/texture.py index 3afc67d..aa856ce 100644 --- a/maps4fs/generator/texture.py +++ b/maps4fs/generator/texture.py @@ -607,6 +607,8 @@ def _osm_preview(self) -> str: merged.dtype, ) preview_path = os.path.join(self.previews_directory, "textures_osm.png") + + # type: ignore cv2.imwrite(preview_path, merged) # pylint: disable=no-member self.logger.info("Preview saved to %s.", preview_path) return preview_path