internal static void SetImageArtifacts(this IDeskewSettings self, IMagickImage <QuantumType> image)
 {
     if (self.AutoCrop)
     {
         image.SetArtifact("deskew:auto-crop", "true");
     }
 }
 public static void RemoveImageArtifacts(this IDeskewSettings self, IMagickImage <QuantumType> image)
 {
     if (self.AutoCrop)
     {
         image.RemoveArtifact("deskew:auto-crop");
     }
 }
Example #3
0
 public static void SetImageArtifacts(IMagickImage <QuantumType> image, IDeskewSettings settings)
 {
     if (settings.AutoCrop)
     {
         image.SetArtifact("deskew:auto-crop", settings.AutoCrop);
     }
 }