This commit is contained in:
Brooke Vibber 2023-04-20 21:51:24 -07:00
parent 70cb31d379
commit dc08212159

View file

@ -18,11 +18,11 @@ $maxBytes = $maxBytes * 15 / 16; // leave some headroom
$options = [
'crop' => false,
'no-audio' => false,
'exposure' => '-1', // one stop down
'peak' => '400', // '10000' is max
'exposure' => '-0.5', // half stop down
'peak' => '1000', // '10000' is max
'fps' => '60',
'size' => $maxBytes,
'quality' => 0.75,
'quality' => 1.0,
];
while ( count( $args ) > 0 && substr( $args[0], 0, 2 ) == '--' ) {