Skip to content

Commit

Permalink
Let icewmbg also support the AVIF image format.
Browse files Browse the repository at this point in the history
  • Loading branch information
gijsbers committed Nov 10, 2024
1 parent 8275f3a commit 79efe33
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/icewmbg.cc
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ static bool hasImageExt(const char* name) {
}
if (len == 4) {
if (strcmp(low, "jpeg") == 0 ||
(strcmp(low, "avif") == 0 && YImage::supportsFormat(low)) ||
(strcmp(low, "tiff") == 0 && YImage::supportsFormat(low)) ||
(strcmp(low, "webp") == 0 && YImage::supportsFormat(low)))
return true;
Expand Down

0 comments on commit 79efe33

Please sign in to comment.