C# Класс ImageTools.IO.Jpeg.JpegEncoder

Encoder for writing the data image to a stream in jpg format.
Наследование: IImageEncoder
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Encode ( ExtendedImage image, Stream stream ) : void

Encodes the data of the specified image and writes the result to the specified stream.

IsSupportedFileExtension ( string extension ) : bool

Indicates if the image encoder supports the specified file extension.

Описание методов

Encode() публичный Метод

Encodes the data of the specified image and writes the result to the specified stream.
/// is null (Nothing in Visual Basic). /// - or - /// is null (Nothing in Visual Basic). ///
public Encode ( ExtendedImage image, Stream stream ) : void
image ExtendedImage The image, where the data should be get from. /// Cannot be null (Nothing in Visual Basic).
stream System.IO.Stream The stream, where the image data should be written to. /// Cannot be null (Nothing in Visual Basic).
Результат void

IsSupportedFileExtension() публичный Метод

Indicates if the image encoder supports the specified file extension.
/// is null (Nothing in Visual Basic). is a string /// of length zero or contains only blanks.
public IsSupportedFileExtension ( string extension ) : bool
extension string The file extension.
Результат bool