C# Class FluxJpeg.Core.Decoder.JpegDecoder

Show file Open project: prepare/HTML-Renderer Class Usage Examples

Public Properties

Property Type Description
ProgressUpdateByteInterval long

Public Methods

Method Description
Decode ( ) : DecodedJpeg
JpegDecoder ( Stream input ) : System

Private Methods

Method Description
ExtractHeader ( ) : JpegHeader
TryParseJFIF ( byte data ) : bool

Tries to parse the JFIF APP0 header See http://en.wikipedia.org/wiki/JFIF

UpdateProgress ( int stepsFinished, int stepsTotal ) : void
UpdateStreamProgress ( long StreamPosition ) : void

Method Details

Decode() public method

public Decode ( ) : DecodedJpeg
return FluxJpeg.Core.DecodedJpeg

JpegDecoder() public method

public JpegDecoder ( Stream input ) : System
input Stream
return System

Property Details

ProgressUpdateByteInterval public static property

public static long ProgressUpdateByteInterval
return long