Interface IPromptImageInfo


  • public interface IPromptImageInfo
    Represents metadata of an image, such as its size or format.
    Since:
    8.5.0
    • Method Detail

      • 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.
      • height

        int height()
        The height of the image.
        Returns:
        The height in pixels.
      • mimeType

        String mimeType()
        The MIME type of the image.
        Returns:
        The MIME type as a string.
      • width

        int width()
        The width of the image.
        Returns:
        The width in pixels.