Table of Contents

Class ExifConverter

Namespace
PaintDotNet.Imaging
Assembly
PaintDotNet.Core.dll
public static class ExifConverter
Inheritance
ExifConverter
Inherited Members

Methods

DecodeAscii(IReadOnlyList<byte>)

Decodes the data to a char array. The data is treated as using UTF-8 encoding, despite the use of ASCII terminology. Thus, chars may be outside the range [1, 255] (but not including 0).

DecodeByte(IReadOnlyList<byte>)
DecodeByteArray(IReadOnlyList<byte>)
DecodeDouble(IReadOnlyList<byte>)
DecodeDoubleArray(IReadOnlyList<byte>)
DecodeFloat(IReadOnlyList<byte>)
DecodeFloatArray(IReadOnlyList<byte>)
DecodeIfd(IReadOnlyList<byte>)
DecodeIfdArray(IReadOnlyList<byte>)
DecodeLong(IReadOnlyList<byte>)
DecodeLongArray(IReadOnlyList<byte>)
DecodeRational(IReadOnlyList<byte>)
DecodeRational(IReadOnlyList<byte>, out uint, out uint)
DecodeRationalArray(IReadOnlyList<byte>)
DecodeRationalArray(IReadOnlyList<byte>, out uint[], out uint[])
DecodeSByte(IReadOnlyList<byte>)
DecodeSByteArray(IReadOnlyList<byte>)
DecodeSLong(IReadOnlyList<byte>)
DecodeSLongArray(IReadOnlyList<byte>)
DecodeSRational(IReadOnlyList<byte>)
DecodeSRational(IReadOnlyList<byte>, out int, out int)
DecodeSRationalArray(IReadOnlyList<byte>)
DecodeSRationalArray(IReadOnlyList<byte>, out int[], out int[])
DecodeSShort(IReadOnlyList<byte>)
DecodeSShortArray(IReadOnlyList<byte>)
DecodeShort(IReadOnlyList<byte>)
DecodeShortArray(IReadOnlyList<byte>)
DecodeToVariant(ExifValue)
DecodeUtf8(IReadOnlyList<byte>)

Decodes the data to a string. The data is treated as using UTF-8 encoding.

EncodeAscii(char[])

Encodes the character array as an ExifValue of type Ascii. The full range of Unicode characters is actually supported, as the string is encoded using UTF-8. Thus, chars outside the range of [1, 255] (but not 0) are permitted.

EncodeByte(byte)
EncodeByteArray(IReadOnlyList<byte>)
EncodeDouble(double)
EncodeDoubleArray(IReadOnlyList<double>)
EncodeFloat(float)
EncodeFloatArray(IReadOnlyList<float>)
EncodeIfd(uint)
EncodeIfdArray(IReadOnlyList<uint>)
EncodeLong(uint)
EncodeLongArray(IReadOnlyList<uint>)
EncodeRational(uint, uint)
EncodeRational(ulong)
EncodeRationalArray(IReadOnlyList<uint>, IReadOnlyList<uint>)
EncodeRationalArray(IReadOnlyList<ulong>)
EncodeSByte(sbyte)
EncodeSByteArray(IReadOnlyList<sbyte>)
EncodeSLong(int)
EncodeSLongArray(IReadOnlyList<int>)
EncodeSRational(int, int)
EncodeSRational(long)
EncodeSRationalArray(IReadOnlyList<int>, IReadOnlyList<int>)
EncodeSRationalArray(IReadOnlyList<long>)
EncodeSShort(short)
EncodeSShortArray(IReadOnlyList<short>)
EncodeShort(ushort)
EncodeShortArray(IReadOnlyList<ushort>)
EncodeUtf8(string)

Encodes the Unicode string as a sequence of UTF-8 characters. The returned ExifValue will be of type Ascii.

TryDecodeToVariant(ExifValue, out object?)
TryEncodeVariant(object, out ExifValue?)