Exemple #1
0
 public static void RemoveImageArtifacts(this IComplexSettings self, IMagickImage <QuantumType> image)
 {
     if (self.SignalToNoiseRatio != null)
     {
         image.RemoveArtifact("complex:snr");
     }
 }
Exemple #2
0
 public static void SetImageArtifacts(this IComplexSettings self, IMagickImage <QuantumType> image)
 {
     if (self.SignalToNoiseRatio != null)
     {
         image.SetArtifact("complex:snr", self.SignalToNoiseRatio.Value.ToString(CultureInfo.InvariantCulture));
     }
 }