Unvanquished / updater

QML based updater to install, update and launch the Unvanquished game.
https://unvanquished.net/download
16 stars 7 forks source link

Unsupported image format (.gif) #51

Open mole99 opened 3 years ago

mole99 commented 3 years ago

When starting the updater/launcher, the image of the latest blog post loads endlessly.

launcher_gif_not_loading

The following error is displayed in the terminal:

qrc:/NewsCard.qml:15:5: QML Image: Error decoding: http://www.unvanquished.net/wp-content/uploads/2020/09/20200908.unvanquished-freedom-granger-celebration.gif: Unsupported image format

It seems that .gif images aren't supported.

System: Debian GNU/Linux bullseye

illwieckz commented 3 years ago

I modified the “Featured image“ in the article to be a jpg, so the updater may work again.

Anyway, the bug is expected to still lie in updater code so I keep this issue open (we may at least display a fallback image and the text if image format is unknown).

slipher commented 3 years ago

What set of image formats do we want to support?

DolceTriade commented 3 years ago

png,jpg, and maybe gif if it's not a pain?

illwieckz commented 3 years ago

I would go for png and jpg but if an unknown format is found, use the fallback image.

ghost commented 2 years ago

Maybe add webp to the list?