maxBytes property
Target maximum file size in bytes (e.g., 500 * 1024 for 500 KB).
When specified, binary search quality adjustment and progressive downscaling are used to guarantee the output size is strictly less than or equal to maxBytes.
Implementation
final int? maxBytes;