encodeAt(quality) must resolve to the encoded value and its byte size. Assumes encoded size grows monotonically with quality, which holds for JPEG and WebP encoders in practice.
encodeAt(quality)
encodeAt(quality)must resolve to the encoded value and its byte size. Assumes encoded size grows monotonically with quality, which holds for JPEG and WebP encoders in practice.