kvirc / KVIrc

The KVIrc IRC Client
http://www.kvirc.net/
GNU General Public License v2.0
232 stars 76 forks source link

jpeg xl support #2629

Open SoniEx2 opened 3 months ago

SoniEx2 commented 3 months ago

we would like to see jpeg xl for user avatars as an alternative to the more conventional options of gif, regular jpeg, and png. jpeg xl tends to be significantly smaller too.

ctrlaltca commented 3 months ago

KVIrc uses Qt6 to load images. Qt6 actually supports there formats: https://doc.qt.io/qt-6/qimagereader.html#supportedImageFormats I know unofficial Qt plugins for JPEG XL exists, even KDE used to ship one, but this is not something we can fix from inside KVIrc. Sorry

SoniEx2 commented 3 months ago

you don't need to use QImageReader, you just need to pass the data to Qt in a format it understands.

ctrlaltca commented 3 months ago

Thank you for the explanation.