Webp image support#1279
Conversation
|
This PR leads me to ask a question :
are really usefull ? |
|
Hi @sebojolais, Maybe these functions could be simplified or extend Qt ones, but removed I'm not sure because of our own extensions and filetypes |
Yes it is true, we have to keep them. But there are some benefits to change the implementation by using QT API for common mime-types and keeping the parts for our own format:
More details about the formats that OB will support after the modifications. It seems that since Qt 6, the mimetypes detection is provided by the freedesktop.org shared-mime-info project. https://doc.qt.io/qt-6/qmimedatabase.html. So the numbers of file format supported by the function will be wide. Are you agree to modify these functions in this sense ? If yes, I can provide a PR. |
Fix this issue: #1278