ImageCollectionKind Enum
What the entries of an ImageCollection are.
public enum ImageCollectionKindRemarks
Neither kind is an animation. Entries never acquire a duration, a blend or disposal operation, or a loop count, and an ImageCollection is never exposed as the frames of an Image: a consumer that plays frames cannot accidentally receive the pages of a document or the sizes of an icon.
Fields
| Name | Value | Description |
|---|---|---|
Unknown | 0 | The kind is unknown (an empty collection that was not created for a specific container). |
Pages | 1 | The entries are the pages of a document, in document order (TIFF and BigTIFF). Pages may differ in size, pixel format and metadata. |
Representations | 2 | The entries are alternative representations of the same drawing at different sizes and color depths (ICO and CUR). Their order carries no meaning; ImageCollection.SelectBySize picks one. |
TextureSurfaces | 3 | The entries are the surfaces of a texture (DDS, KTX 2.0): every mipmap level of every face of a cube map and of every element of a texture array, and every depth slice of a level of a volume texture, in file order (array element, face, mipmap level, depth slice). ImageCollectionEntry.TextureSurface tells which one an entry is. DdsEncoder and Ktx2Encoder save such a collection, except the depth slices of a volume texture; a created collection gets its entries with ImageCollection.Add. |