Class JPEG

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

    public class JPEG
    extends AbstractStrictCheckSizeFileCompleteCheck
    Checks whether the JPEG file ends with bytes FFD9 (EOF for JPEGs).
    See also:
    http://en.wikipedia.org/wiki/JPEG#Syntax_and_structure

    -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: 2
     
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form