Function

QLThumbnailRequestSetImageAtURL

Sets the thumbnail request to contain the image at a given URL.

Declaration

void QLThumbnailRequestSetImageAtURL(QLThumbnailRequestRef thumbnail, CFURLRef url, CFDictionaryRef properties);

Parameters

thumbnail

The thumbnail request object.

url

The URL to the image that the response to the thumbnail request returns.

properties

A dictionary of properties for the thumbnail. macOS doesn’t use any properties.

Discussion

Call this function to have QuickLook use the image at the provided url as a thumbnail.

See Also

Handling Thumbnail Requests

QLThumbnailRequestCopyContentUTI

Returns the UTI for the thumbnail request.

Deprecated
QLThumbnailRequestCopyOptions

Returns the options specified for the thumbnail request.

Deprecated
QLThumbnailRequestCopyURL

Returns the URL of the document for which the thumbnail request is requested.

Deprecated
QLThumbnailRequestCreateContext

Creates a graphics context to draw the thumbnail in.

Deprecated
QLThumbnailRequestFlushContext

Flush the graphics context and sets the thumbnail response.

Deprecated
QLThumbnailRequestGetDocumentObject

Returns the object that’s stored as part of a thumbnail request.

Deprecated
QLThumbnailRequestGetGeneratorBundle

Get the bundle of the generator receiving the thumbnail request.

Deprecated
QLThumbnailRequestGetMaximumSize

Returns the maximum size (in points) specified for the thumbnail image.

Deprecated
QLThumbnailRequestGetTypeID

Gets the type identifier for the QLThumbnailRequest opaque type.

Deprecated
QLThumbnailRequestIsCancelled

Returns whether the thumbnail request has been cancelled by the client.

Deprecated
QLThumbnailRequestSetDocumentObject

Stores an object as part of a thumbnail request.

Deprecated
QLThumbnailRequestSetImage

Sets the thumbnail request to a specified image.

Deprecated
QLThumbnailRequestSetImageWithData

Sets the response to the thumbnail request to image data saved within the document.

Deprecated
QLThumbnailRequestSetThumbnailWithDataRepresentation

Sets the default image representation for an item with the provided data and specified file type.

Deprecated
QLThumbnailRequestSetThumbnailWithURLRepresentation

Sets the default image representation for an item of a given type at the specified URL.

Deprecated