title: Magick.Net resize image
body: <p>I have some code to convert an image, which is working now, but the width of the image that is generated is really small. I would like to force it to use a width of 600px.
  My code looks like this:</p>
  
  <pre><code>public async Task&lt;string&gt; ConvertImage(byte[] data)
  {
  
      // Create our settings
      var settings = new MagickReadSettings
      {
          Width = 600
      };
  
      // Create our image
      using (var image = new MagickImage(data, settings))
      {
  
          // Create a new memory stream
          using (var memoryStream = new MemoryStream())
          {
  
              // Set to a png
              image.Format = MagickFormat.Png;
              image.Write(memoryStream);
              memoryStream.Position = 0;
  
              // Create a new blob block to hold our image
              var blockBlob = container.GetBlockBlobReference(Guid.NewGuid().ToString() + ".png");
  
              // Upload to azure
              await blockBlob.UploadFromStreamAsync(memoryStream);
  
              // Return the blobs url
              return blockBlob.StorageUri.PrimaryUri.ToString();
          }
      }
  }
  </code></pre>
  
  <p>The image I have uploaded is an AI file, but when it gets converted it is only 64px wide.
  Does anyone know why and how I can fix it?</p>