Beispiel #1
0
 static extern bool gimp_image_convert_indexed(Int32 image_ID,
                                               ConvertDitherType dither_type,
                                               ConvertPaletteType palette_type,
                                               int num_cols,
                                               bool alpha_dither,
                                               bool remove_unused,
                                               string palette);
Beispiel #2
0
 public void ConvertIndexed(ConvertDitherType dither_type,
                            ConvertPaletteType palette_type,
                            int num_cols,
                            bool alpha_dither,
                            bool remove_unused,
                            string palette)
 {
     if (!gimp_image_convert_indexed(ID,
                                     dither_type,
                                     palette_type,
                                     num_cols,
                                     alpha_dither,
                                     remove_unused,
                                     palette))
     {
         // throw new GimpSharpException();
     }
 }
Beispiel #3
0
        static extern bool gimp_image_convert_indexed(Int32 image_ID,
						ConvertDitherType dither_type,
						ConvertPaletteType palette_type,
						  int num_cols,
						  bool alpha_dither,
						  bool remove_unused,
						  string palette);
Beispiel #4
0
 public void ConvertIndexed(ConvertDitherType dither_type,
                        ConvertPaletteType palette_type,
                        int num_cols,
                        bool alpha_dither,
                        bool remove_unused,
                        string palette)
 {
     if (!gimp_image_convert_indexed(ID,
               dither_type,
               palette_type,
               num_cols,
               alpha_dither,
               remove_unused,
               palette))
     {
       // throw new GimpSharpException();
     }
 }