[gimp] Issue #4203 - Wavelet decomposition only on RGB images



commit 38cccaac49b095707e91f8a4d5610df26285e06b
Author: Cyril Richard <cyril richard42 gmail com>
Date:   Thu Jan 2 15:28:03 2020 +0100

    Issue #4203 - Wavelet decomposition only on RGB images
    
    Add GRAY* to the list of supported image types.

 plug-ins/common/wavelet-decompose.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plug-ins/common/wavelet-decompose.c b/plug-ins/common/wavelet-decompose.c
index 346aa2f09e..954cf8e562 100644
--- a/plug-ins/common/wavelet-decompose.c
+++ b/plug-ins/common/wavelet-decompose.c
@@ -122,7 +122,7 @@ wavelet_create_procedure (GimpPlugIn  *plug_in,
                                             GIMP_PDB_PROC_TYPE_PLUGIN,
                                             wavelet_run, NULL, NULL);
 
-      gimp_procedure_set_image_types (procedure, "RGB*");
+      gimp_procedure_set_image_types (procedure, "RGB*, GRAY*");
 
       gimp_procedure_set_menu_label (procedure, N_("_Wavelet-decompose..."));
       gimp_procedure_add_menu_path (procedure, "<Image>/Filters/Enhance");


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