What's wrong with this entry?
Anonymous. No account, no email.
What: Image compression now explicitly passes the original file's media type to prevent format detection failures
Details:
- Caller (
Fw5()at line 315499) now extracts file extension and constructs media type string before compression - Function
kiQ() at line 156042(renamed fromTiQ) accepts new media type parameter and forwards to compression handler - Prevents incorrect format handling when Sharp's automatic detection fails (e.g., PNG images incorrectly treated as JPEG)
- No user-facing API changes - internal reliability improvement
- Evidence: Function signature changed from
TiQ(A, Q) at line 156040in v2.0.45 tokiQ(A, Q, B) at line 156042in v2.0.46