Interface IPromptImageConverter
-
public interface IPromptImageConverterA converter that can post-process images.- Since:
- 8.5.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IPromptImageInfoconvert(InputStream inputStream, OutputStream outputStream)Converts an image from the input stream and writes the result to the output stream.
-
-
-
Method Detail
-
convert
IPromptImageInfo convert(InputStream inputStream, OutputStream outputStream) throws IOException
Converts an image from the input stream and writes the result to the output stream.- Parameters:
inputStream- The input stream.outputStream- The output stream.- Returns:
- Info regarding the final produces image, such as the final size of the image and its format.
- Throws:
IOException- When an I/O error occurs during the transformation.
-
-