fix: make Image(retina=True) work with WebP#15276
Conversation
|
Could be: |
|
From Arch wiki > HiDPI: https://wiki.archlinux.org/title/HiDPI :
|
|
@westurner I think it’s a great idea to make this more generic, and I’d happily help, but this PR is just a very small fix and I don’t want to increase its scope. |
|
thanks ! |
|
Great! I have a branch in which I refactor the image format handling – should I do a PR separately with that or should I do the DPI stuff in there? The idea is that it becomes an enum which centrally handles format name, extension, mime type, and shape deriving. That way when modifying the code, it’s no longer possible to forget a patch: #15287 |
The code exists, seems like it was forgotten in #14526.
cc @Carreau and @westurner