Revert "Put back GIF as transfer format"

Qt doesn't support it.

This reverts commit 07a1e35f58.
This commit is contained in:
Anton Thomasson 2021-06-13 13:55:33 +02:00
parent 598107bcb0
commit 0f7b776899

View file

@ -325,7 +325,7 @@ QString targetFormatIfAuto(QString documentFormat, QString mimeType, QJsonArray
} }
else if(Mimer::isImage(mimeType)) else if(Mimer::isImage(mimeType))
{ {
QStringList ImageFormatPrioList {Mimer::PNG, Mimer::GIF, Mimer::PWG, Mimer::URF, Mimer::JPEG}; QStringList ImageFormatPrioList {Mimer::PNG, Mimer::PWG, Mimer::URF, Mimer::JPEG};
if(mimeType == Mimer::JPEG) if(mimeType == Mimer::JPEG)
{ {
// Prioritize transferring JPEG as JPEG, as it will not be transcoded // Prioritize transferring JPEG as JPEG, as it will not be transcoded