Re: [Gimp-developer] Re: GIMP and Google SoC (from digest)

2006-04-21 Thread Nathan Summers
On 4/19/06, GSR - FR [EMAIL PROTECTED] wrote:
 Hi,
 [EMAIL PROTECTED] (2006-04-19 at 1158.08 +0200):
   How is this fairly straightforward with the current architecture? I
   would rather say that it is currently almost impossible to implement
   sanely.
  Ah, but I'm insane.
  Add a layer type for effect layers, and define 3 operations that you can
  associate with the layer (to start): curves, levels and colour balance.
  All the operations are pixel-by-pixel, which should make things easier.
  Then hack the projection code to add a special case for an effect layer.

 Internally I would say they are blend modes. Make them special so
 content is fixed and flat (better compression), so only layer mask
 matters. Then make the formula for the blend mode be curves, levels,
 colour balance... whatever you can find that is pix to pix (and
 probably LUT based in many cases, if not all) and make it work in BG
 while the FG is unused. The settings would be stored in a parasite.

Excellent idea.  Unfortunately, when people say they want layer
effects most of the time what they mean is that they want spiffy
auto-drop shadows.  Of course, that's not that hard to represent with
a few parameters.  But it's not exactly something you can implement
with a LUT.  Still, I think it's pretty doable as a custom layer. 
Perhaps implementing some as blend types and some as custom layers is
a good plan.

Rockwalrus
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Re: GIMP and Google SoC

2006-04-19 Thread Sven Neumann
Hi,

Alan Horkan [EMAIL PROTECTED] writes:

 I'd love to see a single unified interface shared by the various
 Python-fu, Script-fu, Perl-fu etc and it might make a suitable project
 since it is a limited self contained task.

Can you elaborate on this? Single unified interface sounds great but I
have no idea what you mean here.


Sven
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Re: GIMP and Google SoC

2006-04-19 Thread Alan Horkan

On Wed, 19 Apr 2006, Sven Neumann wrote:

 Date: Wed, 19 Apr 2006 21:02:47 +0200
 From: Sven Neumann [EMAIL PROTECTED]
 To: Alan Horkan [EMAIL PROTECTED]
 Cc: Not Photoshop gimp-developer@lists.XCF.Berkeley.EDU
 Subject: Re: [Gimp-developer] Re: GIMP and Google SoC

 Hi,

 Alan Horkan [EMAIL PROTECTED] writes:

  I'd love to see a single unified interface shared by the various
  Python-fu, Script-fu, Perl-fu etc and it might make a suitable project
  since it is a limited self contained task.

 Can you elaborate on this? Single unified interface sounds great but I
 have no idea what you mean here.

Script-fu does not look like Python-fu or Perl-fu.  Users should not be
able to tell from the user interface that a different programming langauge
was used.  They all have automatically generated user intefaces* but the
results look different, and some widgets such as a Radio list are
supported in Python-fu but not in script-fu.

Not sure I can make it any clearer but hopefully someone else can help
explain it.

-- 
Alan H.

* Okay some of the Perl scripts have manually written graphical users
interfaces but that is a side issue.
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer