test: Add basic heif loader check

This commit is contained in:
Kim Woelders 2022-01-29 19:53:59 +01:00
parent c74cb9f1a9
commit 68171bdf7c
4 changed files with 10 additions and 0 deletions

View File

@ -4,6 +4,7 @@
TYPES += argb
TYPES += bmp
TYPES += ff
TYPES += heif
TYPES += gif
TYPES += ico
TYPES += jpg
@ -44,6 +45,9 @@ imgs_64: $(ALL_64)
%.gif: %.png
convert $< $@
%.heif: %.png
heif-enc -o $@ $<
%.ico: %.png
convert $< $@

BIN
test/images/icon-64.heif Normal file

Binary file not shown.

View File

@ -21,6 +21,9 @@ static const char *const pfxs[] = {
"bmp",
"ff",
"gif",
#ifdef BUILD_HEIF_LOADER
"heif",
#endif
"ico",
"jpg.mp3", // id3
"jpg",

View File

@ -34,6 +34,9 @@ static tii_t tii[] = {
{ "icon-64.ff.xz", 1153555547 },
#endif
{ "icon-64.gif", 4016720483 },
#ifdef BUILD_HEIF_LOADER
{ "icon-64.heif", 174609659 },
#endif
{ "icon-64.ico", 1153555547 },
{ "icon-64.ilbm", 1153555547 },
{ "icon-64.jpg", 4132154843 },