Commit Graph

84 Commits

Author SHA1 Message Date
ema c64885485d Make all Plugin classes sealed
Changed all Plugin classes and PluginManager to be sealed, preventing further inheritance. This improves code safety and clarifies the intended usage of these classes.
2026-01-08 01:06:37 +08:00
ema a6210e177b Update copyright year to 2026 2026-01-06 02:24:42 +08:00
ema 432b3b033a Add cross-plugin 'Reopen as' menu for SVG and HTML
Introduces 'Reopen as source code' and 'Reopen as image preview' options in the MoreMenu for SVG and HTML files, enabling users to switch between ImageViewer and TextViewer plugins. Updates translation files to support new menu items in multiple languages and refactors related plugin code for extensibility.
2025-10-08 01:55:58 +08:00
ema 67b5dbf310 Add UseNativeProvider option #1726
Use following option in `QuickLook.Plugin.ImageViewer.config` to fix the issue:
```xml
<?xml version="1.0" encoding="utf-8"?>
<Settings>
  <UseColorProfile>false</UseColorProfile>
  <UseNativeProvider>false</UseNativeProvider>
</Settings>
```
2025-08-02 01:36:13 +08:00
ema 03b1ca557f Fix image .jxr error reading from UseColorProfile 2025-07-31 01:22:13 +08:00
ema 0714574374 Improve file extension checks in CanHandle methods 2025-07-12 03:39:37 +08:00
ema c47d9f3c9b Move resource dictionary initialization 2025-07-08 22:04:34 +08:00
ema 3fce8b4f53 Add Lottie Files animation preview support 2025-07-05 09:25:22 +08:00
ema b3570d1215 Handle .svga files separately in image viewer 2025-07-05 06:55:38 +08:00
ema eecb56db14 Add SVGA animation preview support 2025-07-05 06:46:52 +08:00
ema 667815e360 Conditionally include Svg.Skia and SVG provider 2025-07-01 03:27:22 +08:00
ema 0dc8c03446 Fix image viewer content assignment and cursor check 2025-06-30 06:48:32 +08:00
ema 9cef4d9830 Officially enable SVG web viewer 2025-06-30 06:38:52 +08:00
ema a65a453390 Support JXR image but SDR only #1680 2025-06-30 01:49:43 +08:00
ema 2bf6387b8f Support X11 and more JPEG2000 image formats
MSBuild / build (push) Has been cancelled
MSBuild / publish (push) Has been cancelled
In addition, Magick Image File Format (.miff) is supported now
2025-06-25 02:44:14 +08:00
ema 0370876a3f Support .pcx image #1638 2025-05-20 22:39:27 +08:00
ema a0a46832ed Update copyright information 2025-05-06 21:04:58 +08:00
ema cb40018d52 Run code cleanup 2025-04-30 01:15:05 +08:00
ema 57fb7c6a5f Fix svg rendering error #1430 2025-01-02 06:16:02 +08:00
ema bfa28fc5fa Support .cur and .ani cursor images 2025-01-02 02:39:58 +08:00
ema 08e75b8e36 Support .psb image #768 2024-12-31 10:20:11 +08:00
ema 96d8c420c4 Support Animated WebP #1024 #1324
Limitations: Only supports x64 systems
2024-12-30 17:03:12 +08:00
ema e0d85733a9 Support .svgz image 2024-12-24 16:20:29 +08:00
ema 374b85686d Support .dds image 2024-12-16 14:51:28 +08:00
ema 32a1d709a5 Support .icns image #1480 2024-12-15 05:42:35 +08:00
ema 9f3014c20c Code Cleanup 2024-12-12 11:12:20 +08:00
ema b4ac9332fe Support .qoi image #1432 2024-12-12 09:59:49 +08:00
ema 28ec7655f8 Code Cleanup 2024-12-12 01:21:18 +08:00
Alexander Eder 0ee6e3621b Experimental support for gimp (.xcf extension) 2022-11-17 13:13:52 +01:00
Paddy 22c08f62fa Fix #329: respect monitor ICC 2022-02-13 15:01:32 +01:00
Paddy Xu 1ad78c9f4b Disable image detection from file contents (partially revert 3ef980bb17) 2021-06-27 11:34:50 +02:00
Frank Becker 3ef980bb17 Replace supported image extension list with image detection via MagickImageInfo. (#818)
* Replace supported image extension list with image detection via MagickImageInfo.

* Change ImageViewer priority to -4.
Change VideoViewer priority to -3 and detect audio/video via MediaInfo instead of file extensions.

* Make mediaInfo a class static and initialize once.
Add some notes about MediaInfo Open and Close.

* Remove try/catch from Prepare and let it be handled in caller.
If there was an exception due to MediaInfo it would have already occurred in CanHandle.

* Upgrade ImageMagick to latest

* Only check extension for well known image and animated image types.
For other image formats, let ImageMagick try to detect by file content.
Upgrade to latest Magick.NET

Co-authored-by: Frank Becker <frank.becker@thoughtexchange.com>
2021-05-14 19:07:32 +02:00
Paddy Xu b683ce0fd1 Fix config domain mismatch due to CLR optimisation 2021-03-07 19:48:40 +01:00
Paddy Xu a91261435a Fix #825 properly 2021-03-07 19:02:08 +01:00
Gary Wang 9f426326ba ImageViewer: add .jfif format support (#856) 2021-03-03 13:09:09 +01:00
Paddy Xu 9ab3f2e4bc Fix #760, support CR3 2020-10-18 13:53:24 +02:00
Paddy Xu 03da30b59a Fix #477: Add JFIF files 2020-09-27 10:53:44 +02:00
Paddy Xu ed66ec7f48 Fix #734: add AVIF format 2020-09-20 13:48:45 +02:00
Paddy Xu eae1caa875 Add MXF to VideoViewer 2020-08-16 12:22:38 +02:00
Paddy Xu 41b42d81e9 Add EXR to ImageViewer 2020-08-16 12:13:39 +02:00
Paddy Xu b26d00bac1 Upgrade Magick.NET packages 2020-07-05 12:33:06 +02:00
Paddy Xu 8faa152960 minor image colour tweaking 2020-05-15 00:02:47 +03:00
Paddy Xu 8881c1c774 Partially fix #385: EMF and WMF support. Leave EPS to a plugin 2020-05-07 22:06:07 +03:00
Paddy Xu b98f8e5ec6 using modified exiv2-ql (QL-Win/exiv2@cf560437bb) to detect Exif; switch from NConvert to Magick.NET 2020-05-01 19:02:36 +03:00
Paddy Xu 8e74040bb5 Close #387: update nconvert to v7.20 which fixes the Sony ARW bug; handle Apple HEIC 2018-11-07 21:22:26 +02:00
Paddy Xu d9a024af37 we do not handle svg 2018-09-02 15:08:26 +03:00
Paddy Xu 187fe2649b better NConvert decoding 2018-09-02 14:09:01 +03:00
Paddy Xu 4f496f5ab8 wip plugin installer 2018-08-28 23:49:35 +03:00
Paddy Xu 9832b0f99e done new image viewer 2018-08-28 22:48:10 +03:00
Paddy Xu 3bcb48a43c [WIP] apng provider 2018-08-28 00:16:25 +03:00