You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that this module will asynchronously re-encode at the best/maximum quality, even if the maximum quality was used originally. IIUC, this means that if you ask for the maximum quality, shrink-ray will end up compressing the resource twice at the maximum quality.
I think we need to add a guard around the re-encode, so that it only runs if maximum quality wasn't already used:
It seems that this module will asynchronously re-encode at the best/maximum quality, even if the maximum quality was used originally. IIUC, this means that if you ask for the maximum quality,
shrink-ray
will end up compressing the resource twice at the maximum quality.I think we need to add a guard around the re-encode, so that it only runs if maximum quality wasn't already used:
shrink-ray/index.js
Lines 411 to 422 in f7cfcc7
The text was updated successfully, but these errors were encountered: