public static void RemoveImageArtifacts(this IDistortSettings self, IMagickImage <QuantumType> image)
        {
            if (self.Scale != null)
            {
                image.RemoveArtifact("distort:scale");
            }

            if (self.Viewport != null)
            {
                image.RemoveArtifact("distort:viewport");
            }
        }
        public static void SetImageArtifacts(this IDistortSettings self, IMagickImage <QuantumType> image)
        {
            if (self.Scale != null)
            {
                image.SetArtifact("distort:scale", self.Scale.Value.ToString(CultureInfo.InvariantCulture));
            }

            if (self.Viewport != null)
            {
                image.SetArtifact("distort:viewport", self.Viewport.ToString());
            }
        }