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

New Post: Command in Magick.net

$
0
0
Thank you for your reply.
This is very useful.
Is the below code works If I want to set use-cropbox true in MagicReadSettings?
  MagickReadSettings settings = new MagickReadSettings()
  {               
       Density = new MagickGeometry(300, 300) 
   };
   newSettings.SetDefine(MagickFormat.Pdf, "use-cropbox", "true");
   newSettings.SetDefine(MagickFormat.Pdf, "use-trimbox", "false");
Will above code behave same as below
 using (MagickImage image = new MagickImage())
  {
  image.SetDefine(MagickFormat.Pdf, "use-cropbox", true);
  image.SetDefine(MagickFormat.Pdf, "use-trimbox", false);
  image.Read("yourfile.pdf");
  }

Viewing all articles
Browse latest Browse all 3693

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>