CGImageSourceGetPrimaryImageIndex(_:)
Returns the index of the primary image for an High Efficiency Image File Format (HEIF) image.
Declaration
func CGImageSourceGetPrimaryImageIndex(_ isrc: CGImageSource) -> IntParameters
- isrc:
The image source that contains the image data.
Return Value
The index of the primary image, or 0 for image formats other than the HEIF format.