Class BMPMetadata

  • All Implemented Interfaces:
    BMPConstants, java.lang.Cloneable

    public class BMPMetadata
    extends javax.imageio.metadata.IIOMetadata
    implements java.lang.Cloneable, BMPConstants
    • Field Detail

      • nativeMetadataFormatName

        public static final java.lang.String nativeMetadataFormatName
        See Also:
        Constant Field Values
      • bmpVersion

        public java.lang.String bmpVersion
      • width

        public int width
      • height

        public int height
      • bitsPerPixel

        public short bitsPerPixel
      • compression

        public int compression
      • imageSize

        public int imageSize
      • xPixelsPerMeter

        public int xPixelsPerMeter
      • yPixelsPerMeter

        public int yPixelsPerMeter
      • colorsUsed

        public int colorsUsed
      • colorsImportant

        public int colorsImportant
      • redMask

        public int redMask
      • greenMask

        public int greenMask
      • blueMask

        public int blueMask
      • alphaMask

        public int alphaMask
      • colorSpace

        public int colorSpace
      • redX

        public double redX
      • redY

        public double redY
      • redZ

        public double redZ
      • greenX

        public double greenX
      • greenY

        public double greenY
      • greenZ

        public double greenZ
      • blueX

        public double blueX
      • blueY

        public double blueY
      • blueZ

        public double blueZ
      • gammaRed

        public int gammaRed
      • gammaGreen

        public int gammaGreen
      • gammaBlue

        public int gammaBlue
      • intent

        public int intent
      • palette

        public byte[] palette
      • paletteSize

        public int paletteSize
      • red

        public int red
      • green

        public int green
      • blue

        public int blue
      • comments

        public java.util.List comments
    • Constructor Detail

      • BMPMetadata

        public BMPMetadata()
      • BMPMetadata

        public BMPMetadata​(javax.imageio.metadata.IIOMetadata metadata)
                    throws javax.imageio.metadata.IIOInvalidTreeException
        Throws:
        javax.imageio.metadata.IIOInvalidTreeException
    • Method Detail

      • isReadOnly

        public boolean isReadOnly()
        Specified by:
        isReadOnly in class javax.imageio.metadata.IIOMetadata
      • clone

        public java.lang.Object clone()
        Overrides:
        clone in class java.lang.Object
      • getAsTree

        public org.w3c.dom.Node getAsTree​(java.lang.String formatName)
        Specified by:
        getAsTree in class javax.imageio.metadata.IIOMetadata
      • getStandardChromaNode

        protected javax.imageio.metadata.IIOMetadataNode getStandardChromaNode()
        Overrides:
        getStandardChromaNode in class javax.imageio.metadata.IIOMetadata
      • getStandardCompressionNode

        protected javax.imageio.metadata.IIOMetadataNode getStandardCompressionNode()
        Overrides:
        getStandardCompressionNode in class javax.imageio.metadata.IIOMetadata
      • getStandardDataNode

        protected javax.imageio.metadata.IIOMetadataNode getStandardDataNode()
        Overrides:
        getStandardDataNode in class javax.imageio.metadata.IIOMetadata
      • getStandardDimensionNode

        protected javax.imageio.metadata.IIOMetadataNode getStandardDimensionNode()
        Overrides:
        getStandardDimensionNode in class javax.imageio.metadata.IIOMetadata
      • getStandardDocumentNode

        protected javax.imageio.metadata.IIOMetadataNode getStandardDocumentNode()
        Overrides:
        getStandardDocumentNode in class javax.imageio.metadata.IIOMetadata
      • getStandardTextNode

        protected javax.imageio.metadata.IIOMetadataNode getStandardTextNode()
        Overrides:
        getStandardTextNode in class javax.imageio.metadata.IIOMetadata
      • getStandardTransparencyNode

        protected javax.imageio.metadata.IIOMetadataNode getStandardTransparencyNode()
        Overrides:
        getStandardTransparencyNode in class javax.imageio.metadata.IIOMetadata
      • mergeTree

        public void mergeTree​(java.lang.String formatName,
                              org.w3c.dom.Node root)
                       throws javax.imageio.metadata.IIOInvalidTreeException
        Specified by:
        mergeTree in class javax.imageio.metadata.IIOMetadata
        Throws:
        javax.imageio.metadata.IIOInvalidTreeException
      • reset

        public void reset()
        Specified by:
        reset in class javax.imageio.metadata.IIOMetadata