Closed RadwaAlaa closed 7 months ago
Ah! I think it's only an issue if you're using the 'resizeFactor'. When I take that parameter out, it works.
Thanks for the explanation @charlesRmajor, Is it reproductible with any image links (can't test for now) or a specific link?
This is caused when using LiveActivityImageFromUrl
with a resize factor < 1 because the compression package being used is unable to get the properties which leads to dividing by 0 on
(properties.height! * targetWidth / properties.width!).round(),
which yields infinity
PS the package being used for compression is discontinued
Edit: adding a picture that reproduces the issue
This is the error message I'm seeing: