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

New Post: Feather / anti aliasing / remove jagged lines

$
0
0
The ConvertToEmfPlus method described in the stackoverflow post did not work. And writing my own enumeration sounds like too much work. I have a simpler work-around for you. You could just blur the image a bit:
MagickReadSettings settings = new MagickReadSettings()
{
    Density = new MagickGeometry(1200)
};

using (MagickImage image = new MagickImage(@"D:\images\emf\8060.emf", settings))
{
    // If you don't do this the alpha channel will also be blurred.
    image.Alpha(AlphaOption.Deactivate);

    image.Blur(1, Quantum.Max);
    image.Write(@"D:\images\emf\test.png");
}

Viewing all articles
Browse latest Browse all 3693

Trending Articles



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