yllan / JXLook

JPEG-XL viewer on macOS
MIT License
69 stars 7 forks source link

Thumbnail plugin #5

Closed yllan closed 2 years ago

Evertt commented 3 years ago

Isn't this the same as the QuickLook plugin? Again, since I've installed WebpQuickLook.qlgenerator I now see WebP thumbnails in Finder too.

yllan commented 3 years ago

@Evertt Are you using Big Sur? It seems that macOS Big Sur already support WebP system-wide. That is, I don't have the WebpQuickLook.qlgenerator installed and I can still open *.webp in Preview.app or preview in Finder.

Let me explain this: There are two kinds of QuickLook plugin.

I'm using the second approach, because:

  1. Checking the Apple's developer document, nearly every function in Previews or Thumbnail Images for macOS 10.14 or Earlier (good old qlgenerator) was marked deprecated.
  2. You can't even find the good old qlgenerator project type in Xcode 12. 😢

Back to the topic. I believe the Thumbnail Plugin was used to generate Finder icon instead of the preview image in the new QuickLook architecture.

Evertt commented 3 years ago

Are you using Big Sur? It seems that macOS Big Sur already support WebP system-wide. That is, I don't have the WebpQuickLook.qlgenerator installed and I can still open *.webp in Preview.app or preview in Finder.

Huh, weird, I was convinced that I couldn't do that before I installed the plugin. But now I deleted the plugin and indeed I can still view WebP images.

Okay, in that case, don't mind me, I don't know what I'm talking about 😅

yllan commented 3 years ago

libjxl (0.3.0) didn't support progressive decoding yet. Waiting for it to support.