Commit Graph

66 Commits

Author SHA1 Message Date
ema
f41fb0a68e Fix warning ColorProfile reference in ImageMagickProvider
Some checks failed
MSBuild / build (push) Has been cancelled
MSBuild / publish (push) Has been cancelled
QuickLook\QuickLook.Plugin\QuickLook.Plugin.ImageViewer\AnimatedImage\Providers\ImageMagickProvider.cs(112,35,112,52): warning CS0618: 'ColorProfile.SRGB' is obsolete: 'This property will be removed in the next major release. Use ColorProfiles.SRGB instead.'

Revert "Fix wwarning ColorProfile reference in ImageMagickProvider"

This reverts commit 649fd3a892.

Reapply "Fix wwarning ColorProfile reference in ImageMagickProvider"

This reverts commit 5e9dea6af313ec03c40b1f4dcaa461643a02d4f2.
2025-11-21 00:38:01 +08:00
ema
e342cd0851 Refactor AnimationProvider to use primary constructor 2025-08-02 23:58:23 +08:00
ema
d90993817d Refactor DependencyProperty registration 2025-08-02 21:58:08 +08:00
ema
5cedcff912 Support .pdn in ThumbnailViewer #1708
Some checks failed
MSBuild / build (push) Has been cancelled
MSBuild / publish (push) Has been cancelled
Implementation still under adjustment.
2025-08-02 02:34:32 +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
417876edd2 Prepare support for .pdn
Some checks failed
MSBuild / build (push) Has been cancelled
MSBuild / publish (push) Has been cancelled
2025-07-31 01:27:43 +08:00
ema
667815e360 Conditionally include Svg.Skia and SVG provider 2025-07-01 03:27:22 +08:00
ema
fa61b1e68f Code Cleanup 2025-07-01 03:18:48 +08:00
ema
a65a453390 Support JXR image but SDR only #1680 2025-06-30 01:49:43 +08:00
ema
781f270824 Fix unsupported ColorContexts in Windows #1671 2025-06-14 12:15:13 +08:00
ema
4fd8c14b98 Supplement AutoReload features
Some checks are pending
MSBuild / build (push) Waiting to run
MSBuild / publish (push) Blocked by required conditions
2025-06-10 11:40:20 +08:00
ema
a0a46832ed Update copyright information 2025-05-06 21:04:58 +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
96d8c420c4 Support Animated WebP #1024 #1324
Limitations: Only supports x64 systems
2024-12-30 17:03:12 +08:00
ema
df00f41765 Safely disposing GIF-related memory resources 2024-12-20 22:48:30 +08:00
ema
5220b0b5d8 Rending GIF in background thread #993 2024-12-20 20:08:17 +08:00
ema
21de0643ff Improve GIF efficiency #993 2024-12-20 19:28:23 +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
28ec7655f8 Code Cleanup 2024-12-12 01:21:18 +08:00
ema
e8327e50c4 Fix preview HEIC #1470 2024-12-04 00:20:04 +08:00
ema
507b157a40 Convert to .NET SDK type csproj 2024-11-30 17:00:22 +08:00
Frank Becker
7f7d9805f1 Fix gimp xcf file extension check (#1229) 2022-11-30 10:39:36 +01:00
Frank Becker
b417664dd7 Handle multi-layer gimp xcf files. (#1224) 2022-11-29 23:36:06 +01:00
Paddy
22c08f62fa Fix #329: respect monitor ICC 2022-02-13 15:01:32 +01:00
Paddy
b39a58f1b9 rename 2022-02-13 12:21:06 +01:00
Paddy Xu
ef51c459ab Fix #1055: do not apply white background in ImageMagick 2021-12-02 18:04:28 +01: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
a91261435a Fix #825 properly 2021-03-07 19:02:08 +01:00
Paddy Xu
f5971373a2 Fix #825: do not use unescaped path string (again) 2021-02-02 19:55:03 +01:00
Paddy Xu
cd2f4bb5e8 Fix #825: do not use unescaped path string 2021-01-24 18:10:00 +01:00
Paddy Xu
2cda4606e3 Fix #759: fix thumbnail orientation for some camera models 2020-10-17 18:06:28 +02:00
Paddy Xu
44f66cde4c Fix #669 again: stupid syntax mistake :( 2020-07-05 12:35:55 +02:00
Paddy Xu
b26d00bac1 Upgrade Magick.NET packages 2020-07-05 12:33:06 +02:00
Paddy Xu
fe44021590 Fix #669: convert image to sRGB only when the original ColorSpace is RGB, sRGB, or scRGB 2020-07-05 12:30:37 +02:00
Paddy Xu
bd16583fa1 Fix #401: use the native image provider to render static GIFs 2020-05-31 18:14:55 +03:00
Paddy Xu
8faa152960 minor image colour tweaking 2020-05-15 00:02:47 +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
69c46620ad Fix #417: search acTL chunk by block, instead of byte-by-byte 2018-11-01 23:58:51 +02:00
Paddy Xu
89f1bb46b6 Fix #337: Exif rotation is broken in WPF 2018-09-04 21:21:49 +03:00
Paddy Xu
187fe2649b better NConvert decoding 2018-09-02 14:09:01 +03:00
Paddy Xu
578c67ef0d Fix #312: scaling still wrong 2018-08-30 23:46:25 +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
Paddy Xu
ee6bca704d start working on NConvert 2018-08-12 15:26:03 +03:00
Paddy Xu
1ae40a0019 Fix #292: Handle possible exception when changing colour profile 2018-07-14 17:44:18 +03:00
Paddy Xu
2fc73a0c45 Update GifAnimationProvider.cs 2018-06-15 22:40:05 +03:00
Paddy Xu
db31458ffe done new image viewer. RAW problem remaining. 2018-06-15 22:35:22 +03:00
Paddy Xu
395d4bbc86 Rename GIFAnimationProvider.cs to GifAnimationProvider.cs 2018-06-14 00:19:17 +03:00