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

New Post: Some questions on MagickFormat.Jpeg

$
0
0
As I mentioned in previous posts, I am running some benchmarks. The output in some cases is the JPEG-Format. I have 2 questions:

1) Whats the difference of MagickFormat.Jpg and MagickFormat.Jpeg? Why are there 2 enums that are confusing? I did some testing and can't find any difference in the output. So just the same?

2) By defaut, the optimization of jpeg-files is true. So there is second pass when encoding a jpeg-file. More time to compute, but smaller files. To disable the optimzation I would do the following:
MagickImage image = new MagickImage();
image.SetDefine(MagickFormat.Jpeg, "optimize-coding", false);
But it seems that the flag is working the wrong way. It behaves exactly the opposite. My observations are:

default = optimize-coding==false (more time, smaller files)

Viewing all articles
Browse latest Browse all 3693

Trending Articles



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