[gegl] jp2-load: Handle files with .jpx extension too



commit 4b4427342b4932fdf28cf7f151015ec9398e0566
Author: Mukund Sivaraman <muks banu com>
Date:   Wed Jun 23 15:00:57 2010 +0530

    jp2-load: Handle files with .jpx extension too

 operations/workshop/external/jp2-load.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/operations/workshop/external/jp2-load.c b/operations/workshop/external/jp2-load.c
index a2ef2ec..9af77ba 100644
--- a/operations/workshop/external/jp2-load.c
+++ b/operations/workshop/external/jp2-load.c
@@ -89,7 +89,7 @@ query_jp2 (const gchar   *path,
                                    JAS_CMXFORM_INTENT_PER);
       if (!cimage)
         {
-	  g_warning (_("Unable to convert image to SRGB color space "
+	  g_warning (_("Unable to convert image to sRGB color space "
                        "when processing '%s'"), path);
 	  break;
         }
@@ -392,6 +392,7 @@ gegl_chant_class_init (GeglChantClass *klass)
   operation_class->description = _("JPEG-2000 image loader.");
 
   gegl_extension_handler_register (".jp2", "gegl:jp2-load");
+  gegl_extension_handler_register (".jpx", "gegl:jp2-load");
 }
 
 #endif



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