Contents

QLThumbnailCopyImage(_:)

Returns a thumbnail image.

Declaration

func QLThumbnailCopyImage(_ thumbnail: QLThumbnail!) -> Unmanaged<CGImage>!

Parameters

  • thumbnail:

    The thumbnail to compute.

Return Value

A thumbnail image, or NULL if the Quick Look framework can’t create a thumbnail.

Discussion

If you call this function directly without using QLThumbnailDispatchAsync(_:_:_:), this function blocks the calling thread until it finishes computing the thumbnail.

See Also

Creating thumbnails