Interface Image

    • Method Detail

      • getInfo

        ImageInfo getInfo()
        Returns an object with basic information (URI, MIME type, intrinsic size) about the image.
        Returns:
        the image information object
      • getSize

        ImageSize getSize()
        Returns the image's intrinsic size. This is a shortcut for getInfo().getSize().
        Returns:
        the image's intrinsic size
      • getFlavor

        ImageFlavor getFlavor()
        Returns the flavor of the image.
        Returns:
        the image flavor
      • isCacheable

        boolean isCacheable()
        Indicates whether the Image instance is cacheable in memory.
        Returns:
        true if the Image is cacheable
      • getICCProfile

        ICC_Profile getICCProfile()
        Returns the ICC color profile if one is associated with the image.
        Returns:
        the ICC color profile or null if there's no profile
      • getColorSpace

        ColorSpace getColorSpace()
        Returns the image's color space if the information is available.
        Returns:
        the color space or null if the color space is unknown or undefined