Re: GIMP 1.3x - gradients

2001-01-18 Thread Oliver Freyd

Hello,

As you are talking about gradients, I have another idea about a useful kind
of gradient that maybe I could implement.

I wondered about the "shapeburst" kind of gradient, that seems
to fill a selection with a gradient depending on the distance to the border.
But you cannot choose how far the gradient will reach out from the border,
so for example if you take a black-to-white gradient, the border is always 
white and the innermost point gets black. 
So I'd like to select a point inside the selection, and the gradient
would reach out up to this point. 
To use such a gradient as a bump map might also be cool...

Well,
 comments are welcome...

    bye,

   Oliver





RE: Color calibration in X

2001-01-16 Thread oliver

 However, you can calibrate your card/monitor combination and tell your
 X-server about it, after which applications can query all neceessary
 parameters (and do calulcations) with Xcms. Gimp does not
 implement this
 yet.


Well the calibration part is certainly a bit tricky, but beyond that the
conversions seem a fairly straightforward thing to do. Not to mention
something that is really necessary for any serious graphics work.

 Hmm, how is this "added" gamma adjustment different to the gamma
 adjustment in 3.x? ;)


Assumption based on the fact that xgamma is only present on the box I
upgraded to 4.0 ... reminded of an old Benny Hill sketch somehow.

 You can set them using properties on the root window, which Xcms
 uses. Look for Xcms and XDCCC.


Looking at Xcms manpages, I'm not entirely clear on what it's goal in life
is. It seems to lack any mechanism for converting arbitrary rgb data like a
pixmap. Then again the X apis give me hives, so I'm probably missing
something. Color space conversion of indivdual colors seems somewhat less
then earth-shattering.

  That is, is it possible to do anything meaningful with
 ICCs under X?

 Poissible, yes, but not in practice (I don't know of any programs that
 evaluate icc profiles, and no useful program that evaluates these).

Windows? Photoshop ;) I don't know what the focus of the gimp is, but color
calibration would really be a nice addition. Certainly falls on the good
side of cost / benefit. It would be cool to be able to take the TTF approach
and just grab an ICC for a display from windows and plug it into the gimp, t
least in the absence of color calibration tools for X

I wonder what the impact would be on performance, ignoring Xcms stuff, to
do a 3x3 matrix transform on every pixel before displaying it. With luts I
guess this amounts to three look ups and two adds per component per pixel,
or something like that, which seems pretty cheap.


Cheers,
~ol




Color calibration in X

2001-01-12 Thread oliver

Hi,

I was curious, how much support does X have for useful color calibration?

I know that 4.0 adds gamma adjustment. What about the coordiantes of the
white point and primaries?

That is, is it possible to do anything meaningful with ICCs under X?

Cheers,
~ol
__
And that's the scary thing about this new system [the
renewed trend toward globalization]: it's Orwellian in
its reach, but there's no Big Brother. There are lots of
little brothers, but there's no Big Brother.




RE: Submitting Patches

2001-01-08 Thread oliver


 A short patch like this one can always be sent through this list.
 But I'd prefer if you could redo the patch, because of the following
 reasons:

 - it reverts a change in the preferences dialog. You obviously
   didn't cvs update before creating the diff.

D'oh, my bad.

 - it changes some autogenerated code (the files ending in _cmds.c).
   The changes have to performed in the directory tools/pdbgen/pdb
   on the .pdb files.


It would be nice to have this written down somewhere, as someone mentioned.
Looking now I notice the little comment at the beginning of the files, but
other than that they don't look very generated.

 You could help us by providing a new patch. Sent it to the list again
 or upload it to ftp.gimp.org.


An updated version of the patch is attached. Let me know if all is well
this time.

Cheers,
~ol


 blending2.patch.gz


Submitting Patches

2001-01-07 Thread oliver

Hi,

I've hacked a few of photoshop's blending modes (dodge and burn -- which
are different in photoshop than multiply and divide -- and hardlight) into
the gimp 1.3 sources. I was wondering if this would make an interesting
patch, and if so how do you guys prefer recieving them?

In any event a unified diff against current CVS is attached.

1.2 is really quite awesome, incidentally.

Cheers,
~ol
__
And that's the scary thing about this new system [the
renewed trend toward globalization]: it's Orwellian in
its reach, but there's no Big Brother. There are lots of
little brothers, but there's no Big Brother.

 blending.patch.gz


RE: Submitting Patches

2001-01-07 Thread oliver


Previous diff was a bit broken. Sorry about the spam.

   I've hacked a few of photoshop's blending modes (dodge 
 and burn -- which
 are different in photoshop than multiply and divide -- and 
 hardlight) into
 the gimp 1.3 sources. I was wondering if this would make an 
 interesting
 patch, and if so how do you guys prefer recieving them?

~ol
 blending.patch.gz