Add ability to import JXL images

This commit is contained in:
xiota
2021-09-21 22:19:27 -07:00
parent 11240bc97d
commit dfc82c403c
12 changed files with 218 additions and 8 deletions

View File

@@ -52,6 +52,11 @@ bool hasTiffExtension(const Glib::ustring& filename);
// Return true if file has .png extension (ignoring case)
bool hasPngExtension(const Glib::ustring& filename);
#ifdef JXL
// Return true if file has .jxl extension (ignoring case)
bool hasJxlExtension(const Glib::ustring& filename);
#endif
void swab(const void* from, void* to, ssize_t n);
}