SnapshotSerializerCollectionImagingExtensions Class

Provides extension methods for SnapshotSerializerCollection to snapshot GIF and ICO files frame by frame.

public static class SnapshotSerializerCollectionImagingExtensions

Methods

NameDescription
SnapshotSerializerCollection.AddGifSerializer()Registers a serializer that writes the bytes of a GIF file, validated as SnapshotType.Gif, as one PNG snapshot per frame. Register a comparer for SnapshotType.Png, such as SnapshotComparerCollection.AddImageComparer, to compare the frames by pixels.
SnapshotSerializerCollection.AddIcoSerializer()Registers a serializer that writes the bytes of an ICO file, validated as SnapshotType.Ico, as one PNG snapshot per representation. Register a comparer for SnapshotType.Png, such as SnapshotComparerCollection.AddImageComparer, to compare the representations by pixels.

SnapshotSerializerCollection.AddGifSerializer()

SnapshotSerializerCollectionImagingExtensions.cs

Registers a serializer that writes the bytes of a GIF file, validated as SnapshotType.Gif, as one PNG snapshot per frame. Register a comparer for SnapshotType.Png, such as SnapshotComparerCollection.AddImageComparer, to compare the frames by pixels.

extension(SnapshotSerializerCollection serializers)
{
    public void AddGifSerializer()
}

Parameters

serializers SnapshotSerializerCollection

SnapshotSerializerCollection.AddIcoSerializer()

SnapshotSerializerCollectionImagingExtensions.cs

Registers a serializer that writes the bytes of an ICO file, validated as SnapshotType.Ico, as one PNG snapshot per representation. Register a comparer for SnapshotType.Png, such as SnapshotComparerCollection.AddImageComparer, to compare the representations by pixels.

extension(SnapshotSerializerCollection serializers)
{
    public void AddIcoSerializer()
}

Parameters

serializers SnapshotSerializerCollection