Class TgaImageTypeExtensions
Extension methods for TgaImageType enum.
Inherited Members
Namespace: SixLabors.ImageSharp.Formats.Tga
Assembly: SixLabors.ImageSharp.dll
Syntax
public static class TgaImageTypeExtensions
Methods
| Improve this Doc View SourceIsRunLengthEncoded(TgaImageType)
Checks if this tga image type is run length encoded.
Declaration
public static bool IsRunLengthEncoded(this TgaImageType imageType)
Parameters
Type | Name | Description |
---|---|---|
TgaImageType | imageType | The tga image type. |
Returns
Type | Description |
---|---|
Boolean | True, if this image type is run length encoded, otherwise false. |
IsValid(TgaImageType)
Checks, if the image type has valid value.
Declaration
public static bool IsValid(this TgaImageType imageType)
Parameters
Type | Name | Description |
---|---|---|
TgaImageType | imageType | The image type. |
Returns
Type | Description |
---|---|
Boolean | true, if its a valid tga image type. |