Interface IPromptImageConverter
public interface IPromptImageConverter
A converter that can post-process images.
- Since:
- 8.5.0
-
Method Summary
Modifier and TypeMethodDescriptionconvert(InputStream inputStream, OutputStream outputStream) Converts an image from the input stream and writes the result to the output stream.
-
Method Details
-
convert
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.
-