Current state of affairs:
quality: Can be a number (0-100) or "auto".
max-quality: Only relevant when "quality" is set to "auto".
default-quality: To be used when quality detection isn't working
Proposed state of affairs:
quality: A number (0-100)
auto-limit: Boolean. If set, and quality detection is working, quality will be limited so it does not exceed that of the jpeg.
Pros:
It seems more intuitively comprehensible.
It reduces the number of related options with one.
Quality becomes a less complex type.
Cons:
Users must adopt to the change.
It should made such that the old options still work, but the library informs that they are deprecated.
Current state of affairs: quality: Can be a number (0-100) or "auto". max-quality: Only relevant when "quality" is set to "auto". default-quality: To be used when quality detection isn't working
Proposed state of affairs: quality: A number (0-100) auto-limit: Boolean. If set, and quality detection is working, quality will be limited so it does not exceed that of the jpeg.
Pros:
Cons:
It should made such that the old options still work, but the library informs that they are deprecated.