Module io.scif

Class APNGFormat.Metadata

    • Constructor Detail

      • Metadata

        public Metadata()
    • Method Detail

      • isSigned

        public boolean isSigned()
        Returns:
        true iff this dataset's pixel type is signed
      • setSigned

        public void setSigned​(boolean signed)
        Sets whether this dataset's pixel type is signed or not.
      • isSeparateDefault

        public boolean isSeparateDefault()
        Returns:
        true iff the first frame is not part of the animation.
      • setSeparateDefault

        public void setSeparateDefault​(boolean separateDefault)
        Sets whether or not the first (default) frame is part of the animation or not.
      • isLittleEndian

        public boolean isLittleEndian()
        Returns:
        true iff this dataset is littleEndian. APNG is typically big endian by default/by spec.
      • setLittleEndian

        public void setLittleEndian​(boolean littleEndian)
        Sets the littleEndian flag on this metadata. Used to preserve endianness in translation.
      • populateImageMetadata

        public void populateImageMetadata()
        Description copied from interface: Metadata
        Generates format-agnostic image metadata structures based on this instance's format-specific metadata.
      • close

        public void close​(boolean fileOnly)
                   throws IOException
        Description copied from interface: HasSource
        Closes the image source(s) associated with this component, with a toggle to determine if the component itself is reset.
        Specified by:
        close in interface HasSource
        Overrides:
        close in class AbstractMetadata
        Parameters:
        fileOnly - - If true, only the associated source(s) are closed.
        Throws:
        IOException