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

New Post: Transform Image

$
0
0
I am trying to cartoonify the image. The nearest match I found are these SO answer:
  1. http://stackoverflow.com/questions/1357403/how-to-cartoon-ify-an-image-programmatically
  2. http://stackoverflow.com/questions/4062365/turning-photo-into-cartoon-using-php
  3. http://stackoverflow.com/questions/4058224/creation-of-edge-detection-based-image-in-php
  4. http://www.imagemagick.org/Usage/photos/#charcoal
I tried doing this as follows:
string FilePath = "../path/1.jpg";
MagickReadSettings settings = new MagickReadSettings();
settings.SetDefine(MagickFormat.Jpeg, "charcoal", "5");
using (MagickImage image = new MagickImage(FilePath))
  {
    image.Resize(100,0);
    image.Write(FilePath);
   }
But it did not work. It only resized the image. It did not apply any filters.

Could you tell me how I can cartoonify images in Magick.net? Thanks you :)

Viewing all articles
Browse latest Browse all 3693

Trending Articles



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