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

New Post: Resize filter parameters

$
0
0
//  Magick.NET 6.8.6.801  .Net 4.0
void result(object z){ System.Diagnostics.Debug.WriteLine(String.Format("{0}", z ?? "null")); }

using (MagickImage img = new MagickImage(src))
{
String z;
z = "filename";             result(img.GetAttribute(z));
img.SetAttribute(z,"test"); result(img.GetAttribute(z));

z="filter:blur";            result(img.GetArtifact(z)); 
img.SetArtifact(z, "1.23"); result(img.GetArtifact(z)); 
}

result:
null
test
null
null
I tested it, but GetArtifact function() Result appearing not as expected.
What is a problem? ,thanks

Viewing all articles
Browse latest Browse all 3693

Trending Articles



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