]> git.imager.perl.org - imager.git/blobdiff - image.c
add probe support for FLIF files
[imager.git] / image.c
diff --git a/image.c b/image.c
index cbd1b38a0f3bfc2cb719cdfc0df611c2f53942da..3329003fdda11f951e5cc0d361a370f5a2d63e71 100644 (file)
--- a/image.c
+++ b/image.c
@@ -1716,6 +1716,9 @@ i_test_format_probe(io_glue *data, int length) {
     /* JPEG 2000 
        This might match a little loosely */
     FORMAT_ENTRY("\x00\x00\x00\x0CjP  \x0D\x0A\x87\x0A", "jp2"),
+
+    /* FLIF - Free Lossless Image Format - https://flif.info/spec.html */
+    FORMAT_ENTRY("FLIF", "flif")
   };
   static const struct magic_entry more_formats[] = {
     /* these were originally both listed as ico, but cur files can