Put back GIF as transfer format

This commit is contained in:
Anton Thomasson 2021-06-12 09:48:25 +02:00
parent dd907e3550
commit 07a1e35f58

View file

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