Re: [Gegl-developer] Using GEGL on GIMP



Thanks a lot.
 
I still hope to continue adding code to GEGL,  so I would like to know what I can do next.
Now I have some difficult on building GIMP-goat-invasion on Windows. But I will continue trying it.
 
If there is any infomation, please tell me, thanks.





在 2012年4月5日 下午5:59,Øyvind Kolås <pippin gimp org>写道:
On Thu, Apr 5, 2012 at 10:40 AM, Zhang Peixuan
<zhangpeixuan cn gmail com> wrote:
> Hello All,
>      I tested GEGL-0.2.0 on GIMP 2.8-RC1, I change some code for
> GIMP-2.8.RC1:
>
> app/gegl/gimpoperationtilesource.c
>
> 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?

The TileSource and TileSink operations are being deperecated during
the GIMP-2.10 development cycle, please look at the goat-invasion git
branch of GIMP to see the new way things will be done.


--
«The future is already here. It's just not very evenly distributed»
                                                 -- William Gibson
http://pippin.gimp.org/                            http://ffii.org/



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