a) Is there function in Magick++ to apply desired chroma subsampling factor (like the command line "-sampling-factor")?
b) Further, I understand that by default, when writing jpeg images, 4:2:0 subsampling will be applied by default up to quality factor 90; above 90, no subsampling will occur by default. Assuming a) above can be achieved, is there a way to force 4:2:0 subsampling on images written with quality factor greater than 90?
Thanks!
sample-factor
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: sample-factor
(a) At a guess, Magick::Options::samplingFactor() looks likely.
I don't know about your other questions.
I don't know about your other questions.
snibgo's IM pages: im.snibgo.com
Re: sample-factor
Thanks again snibgo, I got it working with defineValue.