Fix image .jxr error reading from UseColorProfile

This commit is contained in:
ema
2025-07-31 01:22:13 +08:00
parent f39b53a5c6
commit 03b1ca557f

View File

@@ -79,8 +79,7 @@ public class Plugin : IViewer
useColorProfile ? [] : [".bmp", ".jpg", ".jpeg", ".jfif", ".tif", ".tiff"],
typeof(NativeProvider)));
AnimatedImage.AnimatedImage.Providers.Add(
new KeyValuePair<string[], Type>(
useColorProfile ? [] : [".jxr"],
new KeyValuePair<string[], Type>([".jxr"],
typeof(WmpProvider)));
AnimatedImage.AnimatedImage.Providers.Add(
new KeyValuePair<string[], Type>([".icns"],