Creates a thumbnail image of the image located at a specified location in an image source.
- iOS 4.0+
- macOS 10.4+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
- Image I/O
An image source.
The index that specifies the location of the image. The index is zero-based.
A dictionary that specifies additional creation options. See Image Source Option Dictionary Keys for the keys you can supply.
A CGImage object. You are responsible for releasing this object using
If the image source is a PDF, this function creates a 72 dpi image of the PDF page specified by the index that you pass. You must, however, pass an options dictionary that contains either the
k keys, with the value of the key set to