How to provide thumbnails for system defined file types in MacOS application

We have QuickLook thumbnailing framework which is used to provide thumbnails for custom file types. However, how can we provide thumbnails for system defined file types for eg. image file types? Is there any way to achieve this?

Answered by DTS Engineer in 789041022

My reading of your post is that you want to provide your own thumbnails for file types that the system already provides thumbnails for. For example, you want a way to provide a different thumbnail for JPEG files. Is that correct?

If so, there’s no way to do that.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Did you try QuickLook thumbnailing? I would have thought it would work.

An alternative: -[NSWorkspace iconForFile:]

Accepted Answer

My reading of your post is that you want to provide your own thumbnails for file types that the system already provides thumbnails for. For example, you want a way to provide a different thumbnail for JPEG files. Is that correct?

If so, there’s no way to do that.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

How to provide thumbnails for system defined file types in MacOS application
 
 
Q