RSS/Atom feed Twitter
Site is read-only, email is disabled

Abyss color

This discussion is connected to the gegl-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

6 of 6 messages available
Toggle history

Please log in to manage your subscriptions.

Abyss color Eric Daoust 01 Aug 01:36
  Abyss color Martin Nordholts 01 Aug 09:26
   Abyss color Eric Daoust 07 Aug 19:47
    Abyss color Martin Nordholts 07 Aug 19:57
     Abyss color Eric Daoust 07 Aug 20:13
      Abyss color Nicolas Robidoux 07 Aug 20:19
Eric Daoust
2009-08-01 01:36:19 UTC (over 15 years ago)

Abyss color

Currently the defauly abyss color is 0,0,0,0 (RGBA). What would have to be done to allow users to specify their own abyss color?

Thanks, Eric

Martin Nordholts
2009-08-01 09:26:17 UTC (over 15 years ago)

Abyss color

On 08/01/2009 01:36 AM, Eric Daoust wrote:

Currently the defauly abyss color is 0,0,0,0 (RGBA). What would have to be done to allow users to specify their own abyss color?

Since the abyss logic is in GeglBuffer (gegl-buffer-access.c), I would add the abyss color as a property to the GeglBuffer.

/ Martin

Eric Daoust
2009-08-07 19:47:37 UTC (over 15 years ago)

Abyss color

Thanks for the reply.

How would I pass this information from my XML test file to gegl-buffer-access.c?

Example XML code (image rotation test using my upsharpfast sampler):



0.000000
0.000000
7.000000
upsharpfast




data/roemerlogo_large.png

Thanks,
Eric

On Sat, Aug 1, 2009 at 3:28 AM, Martin Nordholts wrote:

On 08/01/2009 01:36 AM, Eric Daoust wrote:

Currently the defauly abyss color is 0,0,0,0 (RGBA).  What would have to be done to allow users to specify their own abyss color?

Since the abyss logic is in GeglBuffer (gegl-buffer-access.c), I would add the abyss color as a property to the GeglBuffer.

 / Martin

Martin Nordholts
2009-08-07 19:57:02 UTC (over 15 years ago)

Abyss color

On 08/07/2009 07:47 PM, Eric Daoust wrote:

Thanks for the reply.

How would I pass this information from my XML test file to gegl-buffer-access.c?

Example XML code (image rotation test using my upsharpfast sampler):



0.000000
0.000000
7.000000
upsharpfast




data/roemerlogo_large.png


The properties in the XML file are set on operations, and GeglBuffer is not an operation.

You can add a property to gegl:rotate and pass that along to GeglBuffer. Perhaps not the prettiest, but it would work.

/ Martin

Eric Daoust
2009-08-07 20:13:49 UTC (over 15 years ago)

Abyss color

The properties in the XML file are set on operations, and GeglBuffer is not an operation.

You can add a property to gegl:rotate and pass that along to GeglBuffer. Perhaps not the prettiest, but it would work.

 / Martin

Sorry, I should have been more specific.

The rotation script is just one example of tests being done on the samplers. I am also doing scaling operations. An example of this would be:


What would be the most general way of getting this abyss color to gegl-buffer-access.c?

Thanks again, Eric

Nicolas Robidoux
2009-08-07 20:19:18 UTC (over 15 years ago)

Abyss color

What would be the most general way of getting this abyss color to gegl-buffer-access.c?

gegl/operations/affine/affine.c

would take care of rotation and scaling and a few other things, although it probably is still not general enough.

Nicolas Robidoux Universite Laurentienne