Table of Contents

Class TgaFormat

Namespace
SixLabors.ImageSharp.Formats.Tga
Assembly
SixLabors.ImageSharp.dll

Registers the image encoders, decoders and mime type detectors for the tga format.

public sealed class TgaFormat : IImageFormat<TgaMetadata>, IImageFormat
Inheritance
TgaFormat
Implements
Inherited Members

Constructors

TgaFormat()

public TgaFormat()

Properties

DefaultMimeType

Gets the default mimetype that the image format uses

public string DefaultMimeType { get; }

Property Value

string

FileExtensions

Gets the file extensions this image format commonly uses.

public IEnumerable<string> FileExtensions { get; }

Property Value

IEnumerable<string>

Instance

Gets the shared instance.

public static TgaFormat Instance { get; }

Property Value

TgaFormat

MimeTypes

Gets all the mimetypes that have been used by this image format.

public IEnumerable<string> MimeTypes { get; }

Property Value

IEnumerable<string>

Name

Gets the name that describes this image format.

public string Name { get; }

Property Value

string

Methods

CreateDefaultFormatMetadata()

Creates a default instance of the format metadata.

public TgaMetadata CreateDefaultFormatMetadata()

Returns

TgaMetadata

The TgaMetadata.