fetchart: enforce_ratio option silently fails (and causes tests to fail) if backend isn't available #1460
Closed
3 tasks done
Labels
feature
features we would like to implement
The new enforce_ratio option requires an imaging backend (PIL or ImageMagick) to get the size of an image. If it can't get the image, then
ArtResizer.get_size()
returns None and the plugin (rightly!) will not embed the image.The trouble is that this failure mode isn't logged anywhere. I propose the following:
enforce_ratio
if ArtResizer is using the fallback (proxy) backend.Does that sound OK, @tomjaspers?
The text was updated successfully, but these errors were encountered: