Skip to content

ImageFormat<TFile> Class

Definition

Base class for image formats with a strongly typed file type.

public abstract class ImageFormat<TFile> : ImageFormat
   where TFile : ImageFile

View source

Type Parameters

Name Description
TFile The concrete file type.

Constructors

Name Description
ImageFormat(String, String) Base class for image formats with a strongly typed file type.

Methods

Name Description
Read(Byte[]) Reads a image file from a byte array.
Read(Stream) Reads a image file from a stream.
ReadAsync(Stream, CancellationToken) Reads a image file asynchronously.
WriteAsync(IOFile, IBinaryWriter) Writes a file to a IBinaryWriter asynchronously.
WriteAsync(TFile, IBinaryWriter) Writes a strongly typed resource file.