Re: [Gegl-developer] Using GEGL on GIMP
- From: Øyvind Kolås <pippin gimp org>
- To: Zhang Peixuan <zhangpeixuan cn gmail com>
- Cc: gegl-developer-list gnome org, gimp-developer-list gnome org
- Subject: Re: [Gegl-developer] Using GEGL on GIMP
- Date: Thu, 5 Apr 2012 11:59:40 +0200
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]