GIMP Forums » For GEGL developers
Abyss color
Jump to message:
-
Abyss color —
Eric Daoust,
01 Aug 2009 01:36 AM
-
Abyss color —
Martin Nordholts,
01 Aug 2009 09:26 AM
-
Abyss color —
Eric Daoust,
07 Aug 2009 07:47 PM
-
Abyss color —
Martin Nordholts,
07 Aug 2009 07:57 PM
-
Abyss color —
Eric Daoust,
07 Aug 2009 08:13 PM
- Abyss color — Nicolas Robidoux, 07 Aug 2009 08:19 PM
-
Abyss color —
Eric Daoust,
07 Aug 2009 08:13 PM
-
Abyss color —
Martin Nordholts,
07 Aug 2009 07:57 PM
-
Abyss color —
Eric Daoust,
07 Aug 2009 07:47 PM
-
Abyss color —
Martin Nordholts,
01 Aug 2009 09:26 AM
As a registered user, you can subscribe forum threads in order to get notified when replies are posted. Just log in at the right top of the page if you already have an account, otherwise you can register for free.
| Permalink: | acc71440907311636mdb3cd5xf779b810598c... |
|---|---|
| Date: | 01 Aug 2009 01:36 AM |
| From: | Eric Daoust |
| Subject: | 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
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
Gegl-developer mailing list
Gegl-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer
| Permalink: | 4A73EEA8.801@gmail.com |
|---|---|
| Date: | 01 Aug 2009 09:26 AM |
| From: | Martin Nordholts |
| Subject: | 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
> 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
Gegl-developer mailing list
Gegl-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer
| Permalink: | acc71440908071047j52ef0ba2l2aff29dd20... |
|---|---|
| Date: | 07 Aug 2009 07:47 PM |
| From: | Eric Daoust |
| Subject: | 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):
<?xml version='1.0' encoding='UTF-8'?>
<gegl>
<node operation='gegl:over'>
<node operation='gegl:rotate'>
<params>
<param name='origin-x'>0.000000</param>
<param name='origin-y'>0.000000</param>
<param name='degrees'>7.000000</param>
<param name='filter'>upsharpfast</param>
</params>
</node>
<node operation='gegl:load' id='clone0'>
<params>
<param name="path">data/roemerlogo_large.png</param>
</params>
</node>
</node>
</gegl>
Thanks,
Eric
On Sat, Aug 1, 2009 at 3:28 AM, Martin Nordholts<enselic@gmail.com> 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
>
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):
<?xml version='1.0' encoding='UTF-8'?>
<gegl>
<node operation='gegl:over'>
<node operation='gegl:rotate'>
<params>
<param name='origin-x'>0.000000</param>
<param name='origin-y'>0.000000</param>
<param name='degrees'>7.000000</param>
<param name='filter'>upsharpfast</param>
</params>
</node>
<node operation='gegl:load' id='clone0'>
<params>
<param name="path">data/roemerlogo_large.png</param>
</params>
</node>
</node>
</gegl>
Thanks,
Eric
On Sat, Aug 1, 2009 at 3:28 AM, Martin Nordholts<enselic@gmail.com> 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
Gegl-developer mailing list
Gegl-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer
| Permalink: | 4A7C6B87.2040304@gmail.com |
|---|---|
| Date: | 07 Aug 2009 07:57 PM |
| From: | Martin Nordholts |
| Subject: | 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):
>
> <?xml version='1.0' encoding='UTF-8'?>
> <gegl>
> <node operation='gegl:over'>
> <node operation='gegl:rotate'>
> <params>
> <param name='origin-x'>0.000000</param>
> <param name='origin-y'>0.000000</param>
> <param name='degrees'>7.000000</param>
> <param name='filter'>upsharpfast</param>
> </params>
> </node>
> <node operation='gegl:load' id='clone0'>
> <params>
> <param name="path">data/roemerlogo_large.png</param>
> </params>
> </node>
> </node>
> </gegl>
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
> 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):
>
> <?xml version='1.0' encoding='UTF-8'?>
> <gegl>
> <node operation='gegl:over'>
> <node operation='gegl:rotate'>
> <params>
> <param name='origin-x'>0.000000</param>
> <param name='origin-y'>0.000000</param>
> <param name='degrees'>7.000000</param>
> <param name='filter'>upsharpfast</param>
> </params>
> </node>
> <node operation='gegl:load' id='clone0'>
> <params>
> <param name="path">data/roemerlogo_large.png</param>
> </params>
> </node>
> </node>
> </gegl>
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
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
| Permalink: | acc71440908071113s1ff42802o438ca99554... |
|---|---|
| Date: | 07 Aug 2009 08:13 PM |
| From: | Eric Daoust |
| Subject: | 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:
<gegl>
<gegl:scale x='1.19' y='.97' filter='upsharpfast'/>
<gegl:load path='data/roemerlogo_large.png'/>
</gegl>
What would be the most general way of getting this abyss color to
gegl-buffer-access.c?
Thanks again,
Eric
> 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:
<gegl>
<gegl:scale x='1.19' y='.97' filter='upsharpfast'/>
<gegl:load path='data/roemerlogo_large.png'/>
</gegl>
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
Gegl-developer mailing list
Gegl-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer
| Permalink: | 19068.28710.235206.948047@gargle.garg... |
|---|---|
| Date: | 07 Aug 2009 08:19 PM |
| From: | Nicolas Robidoux |
| Subject: | 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
Gegl-developer mailing list
Gegl-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer


