Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: EPS to PNG conversion - Different than ImageMagick CLI

$
0
0
I would recommend you to upgrade to the latest version of Magick.NET. Your command translates to this:
using (MagickImage image = new MagickImage())
{
  MagickReadSettings settings = new MagickReadSettings();
  settings.Density = new MagickGeometry(1024); // -density 1024

  image.Read("Sample.eps", settings); // "Sample.eps"
  image.Resize(1024, 768); // -geometry 1024x768
  image.Trim(); // -trim
  image.Write("L.png"); // "L.png" 
}

Viewing all articles
Browse latest Browse all 3693

Trending Articles