mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-12 18:39:45 +00:00
Fix #150: make use of color space assigned with image
This commit is contained in:
@@ -30,6 +30,7 @@ namespace QuickLook.Plugin.ImageViewer.AnimatedImage
|
|||||||
{
|
{
|
||||||
using (var image = new MagickImage(path))
|
using (var image = new MagickImage(path))
|
||||||
{
|
{
|
||||||
|
image.AddProfile(ColorProfile.SRGB);
|
||||||
image.Density = new Density(Math.Floor(image.Density.X), Math.Floor(image.Density.Y));
|
image.Density = new Density(Math.Floor(image.Density.X), Math.Floor(image.Density.Y));
|
||||||
image.AutoOrient();
|
image.AutoOrient();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user