[gimp] Use more specific magic string for JPEG XL container format



commit 878c3f6ce6919e8a5e1464c73752df746f65cab8
Author: Daniel Novomesky <dnovomesky gmail com>
Date:   Tue Sep 28 09:20:54 2021 +0200

    Use more specific magic string for JPEG XL container format

 plug-ins/common/file-jpegxl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plug-ins/common/file-jpegxl.c b/plug-ins/common/file-jpegxl.c
index d87f9ce422..3e7aa45420 100644
--- a/plug-ins/common/file-jpegxl.c
+++ b/plug-ins/common/file-jpegxl.c
@@ -130,7 +130,7 @@ jpegxl_create_procedure (GimpPlugIn  *plug_in,
       gimp_file_procedure_set_extensions (GIMP_FILE_PROCEDURE (procedure),
                                           "jxl");
       gimp_file_procedure_set_magics (GIMP_FILE_PROCEDURE (procedure),
-                                      "0,string,\xFF\x0A,3,string,\x0CJXL");
+                                      
"0,string,\xFF\x0A,0,string,\\000\\000\\000\x0CJXL\\040\\015\\012\x87\\012");
 
     }
   else if (! strcmp (name, SAVE_PROC))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]