[Gegl-developer] Using GEGL on GIMP

Hello All,
     I tested GEGL-0.2.0 on GIMP 2.8-RC1, I change some code for GIMP-2.8.RC1:


gimp_operation_tile_source_prepare (GeglOperation *operation)
   GimpOperationTileSource *self = GIMP_OPERATION_TILE_SOURCE (operation);
+  const Babl *format;
+  format = gimp_bpp_to_babl_format (tile_manager_bpp (self->tile_manager),
+      self->linear);
   if (self->tile_manager)
-      gegl_operation_set_format (operation, "output",
-                                 babl_format ("RaGaBaA float"));
+      gegl_operation_set_format (operation, "output", format);
I think it will make the GIMP faster when using GEGL.

     And My questions is that: I found it only does one CL color conversion (when data in), but did not do the other conversion (data out), I don't know why, who can check it?

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