Table of Contents

Class TgaImageTypeExtensions

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

Extension methods for TgaImageType enum.

public static class TgaImageTypeExtensions
Inheritance
TgaImageTypeExtensions
Inherited Members

Methods

IsRunLengthEncoded(TgaImageType)

Checks if this tga image type is run length encoded.

public static bool IsRunLengthEncoded(this TgaImageType imageType)

Parameters

imageType TgaImageType

The tga image type.

Returns

bool

True, if this image type is run length encoded, otherwise false.

IsValid(TgaImageType)

Checks, if the image type has valid value.

public static bool IsValid(this TgaImageType imageType)

Parameters

imageType TgaImageType

The image type.

Returns

bool

true, if its a valid tga image type.