---
title: kCGImageSourceCreateThumbnailFromImageAlways
framework: imageio
role: symbol
role_heading: Global Variable
path: imageio/kcgimagesourcecreatethumbnailfromimagealways
---

# kCGImageSourceCreateThumbnailFromImageAlways

A Boolean value that indicates whether to always create a thumbnail image.

## Declaration

```swift
let kCGImageSourceCreateThumbnailFromImageAlways: CFString
```

## Discussion

Discussion 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(_:_:_:).

## See Also

### Specifying the Read Options

- [kCGImageSourceTypeIdentifierHint](imageio/kcgimagesourcetypeidentifierhint.md)
- [kCGImageSourceShouldAllowFloat](imageio/kcgimagesourceshouldallowfloat.md)
- [kCGImageSourceShouldCache](imageio/kcgimagesourceshouldcache.md)
- [kCGImageSourceShouldCacheImmediately](imageio/kcgimagesourceshouldcacheimmediately.md)
- [kCGImageSourceCreateThumbnailFromImageIfAbsent](imageio/kcgimagesourcecreatethumbnailfromimageifabsent.md)
- [kCGImageSourceThumbnailMaxPixelSize](imageio/kcgimagesourcethumbnailmaxpixelsize.md)
- [kCGImageSourceCreateThumbnailWithTransform](imageio/kcgimagesourcecreatethumbnailwithtransform.md)
- [kCGImageSourceSubsampleFactor](imageio/kcgimagesourcesubsamplefactor.md)
