C# Class FluxJpeg.Core.Encoder.JpegEncoder

Afficher le fichier Open project: prepare/HTML-Renderer Class Usage Examples

Méthodes publiques

Méthode Description
Encode ( ) : void
JpegEncoder ( DecodedJpeg decodedJpeg, int quality, Stream outStream ) : System

Encodes a JPEG, preserving the colorspace and metadata of the input JPEG.

JpegEncoder ( Image image, int quality, Stream outStream ) : System

Private Methods

Méthode Description
CompressTo ( Stream outStream ) : void
WriteArray ( byte data ) : void
WriteHeaders ( ) : void
WriteMarker ( byte data ) : void

Method Details

Encode() public méthode

public Encode ( ) : void
Résultat void

JpegEncoder() public méthode

Encodes a JPEG, preserving the colorspace and metadata of the input JPEG.
public JpegEncoder ( DecodedJpeg decodedJpeg, int quality, Stream outStream ) : System
decodedJpeg FluxJpeg.Core.DecodedJpeg Decoded Jpeg to start with.
quality int Quality of the image from 0 to 100. (Compression from max to min.)
outStream Stream Stream where the result will be placed.
Résultat System

JpegEncoder() public méthode

public JpegEncoder ( Image image, int quality, Stream outStream ) : System
image Image
quality int
outStream Stream
Résultat System