title: ImageMagick Pdf to JPG bad quality
body: <p>I am not able to get good color quality from using ImageMagick to convert PDF to images.</p>
  
  <pre><code> MagickReadSettings settings = new MagickReadSettings();
          settings.Verbose = true;
          settings.Density = new Density(600, 600);
  
          MagickImageCollection images = new MagickImageCollection();
          images.Read("C:\\" + Path.GetFileName(fileUrl));
          List &lt;string&gt; files = new List&lt;string&gt;();
          for (var x = 0; x &lt; images.Count; x++)
          {
              images[x].Quality = 100;
              images[x].BitDepth(24);
              images[x].Contrast(true);
              images[x].Resize(3675, 2400);
              images[x].Write("C:\\websites\\FlyerEditor2\\FlyerEditor\\src\\assets\\" + Path.GetFileNameWithoutExtension(fileUrl) + "-" + (x + 1) + ".jpeg");
              files.Add("assets/" + Path.GetFileNameWithoutExtension(fileUrl) + "-" + (x + 1) + ".jpeg");
          }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/8VNE5.jpg" rel="nofollow noreferrer">cropped screenshot from pdf</a></p>
  
  <p><a href="https://i.stack.imgur.com/dylo7.jpg" rel="nofollow noreferrer">jpg from pdf using imageMagick</a></p>