SnapshotSerializerCollectionImagingExtensions Class
Provides extension methods for SnapshotSerializerCollection to snapshot GIF and ICO files frame by frame.
public static class SnapshotSerializerCollectionImagingExtensionsMethods
| Name | Description |
|---|---|
| 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.csRegisters 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
serializersSnapshotSerializerCollection
SnapshotSerializerCollection.AddIcoSerializer()
SnapshotSerializerCollectionImagingExtensions.csRegisters 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
serializersSnapshotSerializerCollection