Abyss color

ForumsFor GEGL developers (read-only) ► Abyss color

Sent: 2009-08-01 01:36:19 UTC (over 2 years ago)

From: Eric Daoust

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

_______________________________________________
Gegl-developer mailing list
Gegl-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer

Sent: 2009-08-01 09:26:17 UTC (over 2 years ago)

From: Martin Nordholts

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

_______________________________________________
Gegl-developer mailing list
Gegl-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer

Sent: 2009-08-07 19:47:37 UTC (over 2 years ago)

From: Eric Daoust

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
>

_______________________________________________
Gegl-developer mailing list
Gegl-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer

Sent: 2009-08-07 19:57:02 UTC (over 2 years ago)

From: Martin Nordholts

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

--

My GIMP Blog:
http://www.chromecode.com/
_______________________________________________
Gegl-developer mailing list
Gegl-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer

Sent: 2009-08-07 20:13:49 UTC (over 2 years ago)

From: Eric Daoust

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

_______________________________________________
Gegl-developer mailing list
Gegl-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer

Sent: 2009-08-07 20:19:18 UTC (over 2 years ago)

From: Nicolas Robidoux

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

_______________________________________________
Gegl-developer mailing list
Gegl-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer

Welcome!


Lost password?

Not a member? Sign up!

Random tutorials | Latest tutorials

  1. Stylish buttons Stylish buttons 9
  2. Create a simple waved stripe Create a simple waved stripe 9
  3. Create a live 3D-Earth with live clouds! Create a live 3D-Earth with live clouds! 3
  4. The creepy zombie hand of death! The creepy zombie hand of death! 9

Latest comments

A facebook page, could be great too! (about 15 hours ago in GIMP gets closer to the community with Google+!)

bah just use 2.7.4 (or 2.7.5 on Windows) (about 18 hours ago in Last stable 2.6 release: 2.6.12 has arrived)

Hmm, would prefer Diaspora, I don't use G+ myself, but I guess it h... (about 19 hours ago in GIMP gets closer to the community with Google+!)

Poll

Is GIMP an adequate application for you to create printed graphics like flyers, advertisments etc?

View results

Latest forum activities

Your Ad Here

facts & numbers

gimpusers.com RSS feed

48 identi.ca followers
745 Twitter followers

powered by bitfire it services