Compare commits

...

3 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
74901b4743 Update QuickLook.Common submodule with increased resize border thickness
Co-authored-by: emako <24737061+emako@users.noreply.github.com>
2025-11-19 16:21:24 +00:00
copilot-swe-agent[bot]
a7c0425dd0 Initial plan 2025-11-19 16:15:19 +00:00
ema
649fd3a892 Fix wwarning 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.'
2025-11-20 00:05:29 +08:00
2 changed files with 2 additions and 2 deletions

View File

@@ -109,7 +109,7 @@ internal class ImageMagickProvider : AnimationProvider
{
if (mi.ColorSpace == ColorSpace.RGB || mi.ColorSpace == ColorSpace.sRGB || mi.ColorSpace == ColorSpace.scRGB)
{
mi.SetProfile(ColorProfile.SRGB);
mi.SetProfile(ColorProfiles.SRGB);
if (ContextObject.ColorProfileName != null)
mi.SetProfile(new ColorProfile(ContextObject.ColorProfileName)); // map to monitor color
}