Allow setting jpeg:sampling-factor option

This option is important for JPEG optimizations fine-tuning.