There are a lot of formats we don't currently handle and we just show 2423 bytes. Would be nice to try to use Quick Look to show a preview.
I know how to show a Quick Look panel in a separate window, but I'm not sure how to embed a Quick Look view in an existing window. On iOS, there's QLPreviewController, but nothing like that for macOS. Alternatively, if there's no other way, we could generate an image preview instead: https://developer.apple.com/documentation/quicklookthumbnailing
There are a lot of formats we don't currently handle and we just show
2423 bytes
. Would be nice to try to use Quick Look to show a preview.I know how to show a Quick Look panel in a separate window, but I'm not sure how to embed a Quick Look view in an existing window. On iOS, there'sQLPreviewController
, but nothing like that for macOS. Alternatively, if there's no other way, we could generate an image preview instead: https://developer.apple.com/documentation/quicklookthumbnailingThere's https://developer.apple.com/documentation/quartz/qlpreviewview