Update signature of manipulateImage to return an ImageContainer
This commit is contained in:
@@ -7,13 +7,14 @@ class ImageManipulation(ABC):
|
|||||||
"""Abstract base class for image manipulation operations."""
|
"""Abstract base class for image manipulation operations."""
|
||||||
|
|
||||||
@abstractmethod
|
@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.
|
Manipulate the given image using the provided parameters.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
image: The image to manipulate
|
image: The image to manipulate
|
||||||
parameters: Parameters for the manipulation
|
parameters: Parameters for the manipulation
|
||||||
|
Returns: The manipulated image
|
||||||
"""
|
"""
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user