[gimp] plug-ins: fix Radiance RGBE magic number.



commit d5164072e064c160329dc276344508d6bacf8870
Author: Jehan <jehan girinstud io>
Date:   Fri Dec 17 16:56:43 2021 +0100

    plug-ins: fix Radiance RGBE magic number.
    
    Note that the full magic should be "#?RADIANCE". Not sure why we only
    use the first 2 characters. Do some software create these RGBE files
    with just "#?" and we want to be able to read these? No other image
    format use these 2 characters as the start of their own magic numbers?
    
    Anyway let's keep like this for now. We'll see. If it makes a problem,
    we might update to more accurate magic later.

 plug-ins/common/file-gegl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plug-ins/common/file-gegl.c b/plug-ins/common/file-gegl.c
index 8b497a6a01..7e7f2b5416 100644
--- a/plug-ins/common/file-gegl.c
+++ b/plug-ins/common/file-gegl.c
@@ -109,7 +109,7 @@ static const FileFormat file_formats[] =
     N_("Radiance RGBE"),
     "image/vnd.radiance",
     "hdr",
-    "0,string,?#",
+    "0,string,#?",
 
     "file-load-rgbe",
     "Load files in the RGBE file format",


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