Contents

init(imageFileURL:)

Creates a new thumbnail for a custom file type using a file at the given URL.

Declaration

convenience init(imageFileURL fileURL: URL)

Parameters

  • fileURL:

    The URL to the file that is used as the thumbnail.

Return Value

An initialized reply object for a requested thumbnail.

Discussion

The image is scaled down to fit the provided size by the QLFileThumbnailRequest if necessary.

See Also

Creating a Thumbnail