scaledJpegQuality is only relevant for JPEGs, duh