gimpusers.com logo
German version English version

Not logged in

Sign up! | Lost password?

Latest discussion

  1. gegl-developer | today 12:12 AM
    babl docs
  2. gimp-web | yesterday 10:41 PM
    Windows installers
  3. gimp-user | yesterday 10:23 PM
    How to edit text in both Gimp & Photoshop
  4. gimp-docs | yesterday 05:54 PM
    a new user perspective
  5. gimp-developer | yesterday 07:03 AM
    Nightly builds with buildbot, where can we host?

External news

Poll

How good are you at programming?

OMG, that is nothing for me at all!

I've been coding a little bit but I'm not very fit at it

I'm pretty good at programming and would maybe be able to write a Plug-In for GIMP

I'm very good at programming and I would theoretically be able to hack for the GIMP core

See results

Stats

gimpusers.com RSS feed

GIMP Forums » For GEGL developers

Abyss color

Jump to message:

  1. Abyss color — Eric Daoust, 01 Aug 2009 01:36 AM
    1. Abyss color — Martin Nordholts, 01 Aug 2009 09:26 AM
      1. Abyss color — Eric Daoust, 07 Aug 2009 07:47 PM
        1. Abyss color — Martin Nordholts, 07 Aug 2009 07:57 PM
          1. Abyss color — Eric Daoust, 07 Aug 2009 08:13 PM
            1. Abyss color — Nicolas Robidoux, 07 Aug 2009 08:19 PM

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
_______________________________________________
Gegl-developer mailing list
Gegl-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer
↑Back to thread overview
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
_______________________________________________
Gegl-developer mailing list
Gegl-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer
↑Back to thread overview
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
>
_______________________________________________
Gegl-developer mailing list
Gegl-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer
↑Back to thread overview
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
--

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
↑Back to thread overview
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
_______________________________________________
Gegl-developer mailing list
Gegl-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer
↑Back to thread overview
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
↑Back to thread overview

Adobe® Photoshop® is a registered trademark of Adobe Systems, Inc. Linux is a trademark of Linus Torvalds. Ubuntu and Canonical are registered trademarks of Canonical Ltd. | Clock times are shown as CET / CEST | Imprint / Privacy policy | powered by bitfire it services | sponsored by Hirners Hotel Guide