[gegl] operations: Register png and ppm savers



commit 00c1c6212189fd52f7cb3c59445019f6976cc4f6
Author: Martin Nordholts <martinn src gnome org>
Date:   Wed May 12 18:58:12 2010 +0200

    operations: Register png and ppm savers

 operations/external/png-save.c |    1 +
 operations/external/ppm-save.c |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/operations/external/png-save.c b/operations/external/png-save.c
index 036de97..432d3b0 100644
--- a/operations/external/png-save.c
+++ b/operations/external/png-save.c
@@ -207,6 +207,7 @@ gegl_chant_class_init (GeglChantClass *klass)
   operation_class->description =
         _("PNG image saver (passes the buffer through, saves as a side-effect.)");
 
+  gegl_extension_handler_register_saver (".png", "gegl:png-save");
 }
 
 #endif
diff --git a/operations/external/ppm-save.c b/operations/external/ppm-save.c
index 1b574b1..b1db115 100644
--- a/operations/external/ppm-save.c
+++ b/operations/external/ppm-save.c
@@ -136,6 +136,7 @@ gegl_chant_class_init (GeglChantClass *klass)
   operation_class->description =
         _("PPM image saver (Portable pixmap saver.)");
 
+  gegl_extension_handler_register_saver (".ppm", "gegl:ppm-save");
 }
 
 #endif



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