This application includes / registers finder extensions to preview (thumbnails/gallery) Fuji RAF images in finder on MacOS. It uses the existing jpeg image embedded in the RAF file.
To build/register:
- clone repository
- open with xcode
- build
- run once
- exit the application
The application only needs to be run once to preform the actual registration.
Run from ~/Library/Developer/Xcode/DerivedData/RAFQuickLook-.../Build/Products/Debug.
Replace '...' with what ever xcode generates for your build.
Finder appears to cache thumbnails so the thumbnail extension may appear not to run on an existing folder. Browse a new folder of RAF files to verify. It will eventually catch up.
If I make code changes I typically run the following commands:
- qlmanage -r
- qlmanage -r cache
- killall QuickLookUIService
- killall Finder
Control with 'System Settings/General/Login Items & Extensions/RAFQuickLook'
mdls -name kMDItemContentType ./Desktop/Raw/DSCF0000.RAF
This should return com.fuji.raw-image for these extensions to work.
qlmanage -r
qlmanage -r cache
qlmanage -p ./Desktop/Raw/DSCF0000.RAF
qlmanage -t ./Desktop/Raw/DSCF0000.RAF
pluginkit -r ~/Library/Developer/Xcode/DerivedData/RAFQuickLook-.../Build/Products/Debug/RAFQuickLook.app/Contents/PlugIns/QLPreviewProvider.appex
pluginkit -a ~/Library/Developer/Xcode/DerivedData/RAFQuickLook-.../Build/Products/Debug/RAFQuickLook.app/Contents/PlugIns/QLPreviewProvider.appex
pluginkit -r ~/Library/Developer/Xcode/DerivedData/RAFQuickLook-.../Build/Products/Debug/RAFQuickLook.app/Contents/PlugIns/QLThumbnailProvider.appex
pluginkit -a ~/Library/Developer/Xcode/DerivedData/RAFQuickLook-.../Build/Products/Debug/RAFQuickLook.app/Contents/PlugIns/QLThumbnailProvider.appex
killall QuickLookUIService
killall Finder