Interface Icon


public interface Icon
Properties of Windows icon (ICO) and cursor (CUR) files, which hold several images of one motif in different sizes and colour depths. The dimensions of the largest image go to the TIFF properties.
Since:
Apache Tika 4.2.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Property
    Cursors only: the x coordinate of the hotspot of the image whose dimensions are reported, the pixel that clicks.
    static final Property
    Cursors only: the y coordinate of the hotspot.
    static final String
     
    static final Property
    Number of images found in the container, the ones IMAGES lists.
    static final Property
    One value per image, in container order: WIDTHxHEIGHT@BITSbpp ENCODING, for example 32x32@32bpp bmp or 256x256@32bpp png.
  • Field Details

    • ICON_PREFIX

      static final String ICON_PREFIX
      See Also:
    • IMAGE_COUNT

      static final Property IMAGE_COUNT
      Number of images found in the container, the ones IMAGES lists. A damaged container may claim more than it holds.
    • IMAGES

      static final Property IMAGES
      One value per image, in container order: WIDTHxHEIGHT@BITSbpp ENCODING, for example 32x32@32bpp bmp or 256x256@32bpp png. An image whose own header cannot be read is listed with the container's values for it and the encoding unknown; a colour depth that is not known is left out, as in 32x32 unknown.
    • HOTSPOT_X

      static final Property HOTSPOT_X
      Cursors only: the x coordinate of the hotspot of the image whose dimensions are reported, the pixel that clicks.
    • HOTSPOT_Y

      static final Property HOTSPOT_Y
      Cursors only: the y coordinate of the hotspot.