Commit 9f540815 authored by Pedro Liberatti's avatar Pedro Liberatti
Browse files

Support more image formats

parent 92ef9afe
Pipeline #209633 passed with stage
in 2 minutes and 8 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