Update signature of manipulateImage to return an ImageContainer

This commit is contained in:
Kim André Bjørkede
2025-10-27 10:59:19 +01:00
parent 60cd4e5636
commit e0b75b5796

View File

@@ -7,13 +7,14 @@ class ImageManipulation(ABC):
"""Abstract base class for image manipulation operations."""
@abstractmethod
def manipulateImage(self, image: ImageContainer, parameters: Any) -> None:
def manipulateImage(self, image: ImageContainer, parameters: Any) -> ImageContainer:
"""
Manipulate the given image using the provided parameters.
Args:
image: The image to manipulate
parameters: Parameters for the manipulation
Returns: The manipulated image
"""
pass