mirror of
https://github.com/QL-Win/QuickLook.git
synced 2026-02-27 01:00:11 +08:00
Add DICOM image support to ImageViewer plugin #1866
This is not a permanent support and will be adjusted to the plugin later.
This commit is contained in:
@@ -36,7 +36,7 @@ public sealed partial class Plugin : IViewer, IMoreMenu
|
||||
".apng", ".ari", ".arw", ".avif", ".ani",
|
||||
".bay", ".bmp",
|
||||
".cap", ".cr2", ".cr3", ".crw", ".cur",
|
||||
".dcr", ".dcs", ".dds", ".dng", ".drf",
|
||||
".dcr", ".dcs", ".dds", ".dng", ".drf", ".dcm", ".dicom",
|
||||
".eip", ".emf", ".erf", ".exr",
|
||||
".fff",
|
||||
".gif",
|
||||
@@ -107,6 +107,9 @@ public sealed partial class Plugin : IViewer, IMoreMenu
|
||||
new KeyValuePair<string[], Type>([".svg"],
|
||||
typeof(SvgProvider)));
|
||||
#endif
|
||||
AnimatedImage.AnimatedImage.Providers.Add(
|
||||
new KeyValuePair<string[], Type>([".dcm", ".dicom"],
|
||||
typeof(DicomProvider)));
|
||||
AnimatedImage.AnimatedImage.Providers.Add(
|
||||
new KeyValuePair<string[], Type>(["*"],
|
||||
typeof(ImageMagickProvider)));
|
||||
|
||||
Reference in New Issue
Block a user