Class PNG

  • All Implemented Interfaces:
    Destroyable, GlobalInfoSupporter, LoggingLevelHandler, LoggingSupporter, OptionHandler, SizeOfHandler, Serializable

    public class PNG
    extends AbstractStrictCheckSizeFileCompleteCheck
    Checks whether the PNG file ends with bytes IEND (EOF for PNGs).
    See also:
    https://en.wikipedia.org/wiki/Portable_Network_Graphics#Critical_chunks
    http://www.libpng.org/pub/png/spec/1.2/PNG-Structure.html#Chunk-layout
    http://www.libpng.org/pub/png/spec/1.2/PNG-Chunks.html#C.IEND

    -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel)
        The logging level for outputting errors and debugging output.
        default: WARNING
        min-user-mode: Expert
     
    -strict <boolean> (property: strict)
        Whether to be strict or allow trailing junk data.
        default: true
     
    -check-size <int> (property: checkSize)
        The number of bytes to read from the back of the file (in non-strict mode
        ) to check for EOF marker.
        default: 100
        minimum: 8
     
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form