Interface IPromptImageInfo
public interface IPromptImageInfo
Represents metadata of an image, such as its size or format.
- Since:
- 8.5.0
-
Method Summary
-
Method Details
-
extension
String extension()The suggested file extension of the image, without a leading dot, e.g. "png" or "jpg".- Returns:
- The file extension as a string.
-
format
String format()The format of the image, e.g. "png" or "jpeg". SeeIPromptImageConvertBuilder.format(IPromptImageFormatConverter).- Returns:
- The format as a string.
-
height
int height()The height of the image.- Returns:
- The height in pixels.
-
mimeType
-
width
int width()The width of the image.- Returns:
- The width in pixels.
-