Commit 81a71588 authored by Pedro Liberatti's avatar Pedro Liberatti Committed by Nate Graham
Browse files

Support more image formats


(cherry picked from commit 9f540815)
parent 2a969f84
Pipeline #209673 passed with stage
in 3 minutes and 15 seconds
......@@ -84,9 +84,13 @@ void ComicCreator::filterImages(QStringList& entries)
entry.startsWith(QLatin1String(".DS_Store"), Qt::CaseInsensitive)) {
continue;
}
if (entry.endsWith(QLatin1String(".gif"), Qt::CaseInsensitive) ||
if (entry.endsWith(QLatin1String(".avif"), Qt::CaseInsensitive) ||
entry.endsWith(QLatin1String(".bmp"), Qt::CaseInsensitive) ||
entry.endsWith(QLatin1String(".gif"), Qt::CaseInsensitive) ||
entry.endsWith(QLatin1String(".heif"), Qt::CaseInsensitive) ||
entry.endsWith(QLatin1String(".jpg"), Qt::CaseInsensitive) ||
entry.endsWith(QLatin1String(".jpeg"), Qt::CaseInsensitive) ||
entry.endsWith(QLatin1String(".jxl"), Qt::CaseInsensitive) ||
entry.endsWith(QLatin1String(".png"), Qt::CaseInsensitive) ||
entry.endsWith(QLatin1String(".webp"), Qt::CaseInsensitive)) {
entryMap.insert(entry.toLower(), entry);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment