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
Currently any invalid value for fm gets silently coerced to jpg by the encoder. This behavior, while ensure an image is always generated, has couple of issues.
A dev error like a typo in the format name would be difficult to track down since the lib gives no error about it.
Since all parameter values are used to generate the hash key using multiple invalid value for fm would generate multiple cached images which would be actually the same.
Based on the community feedback I would like to throw an exception instead for an invalid format value.
Currently any invalid value for
fm
gets silently coerced tojpg
by the encoder. This behavior, while ensure an image is always generated, has couple of issues.fm
would generate multiple cached images which would be actually the same.Based on the community feedback I would like to throw an exception instead for an invalid format value.
Tagging in recent contributors to the 3.x branch @deluxetom @Art4 @nlemoine @konnng-dev
The text was updated successfully, but these errors were encountered: