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

New Post: Some questions on MagickFormat.Jpeg

$
0
0
You are correct, Jpg is just an alias for Jpeg. The are both available because a JPEG file can have the extension .jpg or .jpeg.

The SetDefine method now calls a method that removes the define if the value is false. And this means it will use the default value: "Perform optimization only if available memory resources permit it.". I will fix this confusing behavior in the next release and add image.RemoveDefine to mimic old 'functionality'. For now you will have to do this:
MagickImage image = new MagickImage();
image.SetDefine(MagickFormat.Jpeg, "optimize-coding", "false");
p.s. You can add C# behind the start of the code block to give it some colors :)

Viewing all articles
Browse latest Browse all 3693

Trending Articles



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