kCGImageSourceCreateThumbnailFromImageAlways
A Boolean value that indicates whether to always create a thumbnail image.
Declaration
let kCGImageSourceCreateThumbnailFromImageAlways: CFStringDiscussion
The value of this key is a CFBoolean. The default value is kCFBooleanFalse.
If you set the value of this key to kCFBooleanTrue, the image source creates the thumbnail from the full image, subject to the limit specified by kCGImageSourceThumbnailMaxPixelSize. If you don’t specify a maximum pixel size, the image source creates the thumbnail using the image’s full size, which in most cases is not desirable.
Include this key in the options dictionary you pass to the function CGImageSourceCreateThumbnailAtIndex(_:_:_:).