Re: [Gimp-developer] Adaptive Contrast Enhancement

2004-07-18 Thread Markus Triska

 Then I began to port it and release 0.6.44 that is not fully clean and some
 points have not been ported yet. So if you have time and enogh knowledge it
 would help a lot.

I have modified the plug-in to compile against GIMP 2.0. You can start it 
already (Image - Colors - Adaptive Contrast, should maybe be moved to 
Layer-Colors), but it is not fully functional (for example, OK/Cancel 
buttons do not work, but the preview does). The changes I made are mostly 
autotools-related (mainly configure.in). I also removed the intl program 
from the distribution. I did not modify any internals, in case you want to 
restructure the plug-in further.

You can download the intermediate 0.6.45 version from:

http://stud4.tuwien.ac.at/~e0225855/gimp-ace-0.6.45.tar.gz

What still needs to be done: The dialog handling (dialog.c) is deprecated. I 
marked the few lines I had to change to make the plug-in compile with 
TODO (2 occurrences in dialog.c). You would now use gimp_dialog_run to 
present the dialog (take for example gimp-2.0.2/plug-ins/common/mblur.c to 
see how it should be done) and check for GTK_RESPONSE_OK.

gimp_ace.c: gimp_plugin_help_register has changed. I don't know what you want 
to do with the call (make a web-page for the project etc.), or what you 
should point to (e.g., on-disk HTML documentation). It is commented out for 
now and also marked with TODO. (There is also another occurrence of TODO, 
namely in glaceG.c, but I did not add that, so apart from this, grepping for 
TODO should lead directly to the relevant places.)

I think you now have a pretty solid basis to work on (because the necessary 
infrastructure is there), but please feel free to e-mail me in case you need 
further assistance with enhancing the plug-in. Good luck.

Markus.
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


Re: [Gimp-developer] New feature inquiry.

2004-07-18 Thread Daniel Egger
On 18.07.2004, at 03:07, Christopher W. Curtis wrote:
And we want it rendered using glitz!
http://freedesktop.org/Software/glitz
... but seriously, does anyone think it's possible to offload 
processing to the GPU?  Is that part of the GEGL pipe goals?  I didn't 
see anything at the site in the docs ...
This has been discussed some time ago and was tossed because
it seemed unfeasible back then, partly due to the hard coded
assumptions in the RGBA rendering model.
However with the integration of GEGL and more flexible data
types it might be worth to look into that again. I'd certainly
enjoy the idea of doing the composition using the GPU and
shader programs.
Servus,
  Daniel


PGP.sig
Description: This is a digitally signed message part


Re: [Gimp-developer] Adaptive Contrast Enhancement

2004-07-18 Thread Sven Neumann
Hi,

Markus Triska [EMAIL PROTECTED] writes:

  Then I began to port it and release 0.6.44 that is not fully clean and some
  points have not been ported yet. So if you have time and enogh knowledge it
  would help a lot.
 
 I have modified the plug-in to compile against GIMP 2.0. You can start it 
 already (Image - Colors - Adaptive Contrast, should maybe be moved to 
 Layer-Colors)

The canonical place for such a plug-in would be Filters-Colors.


Sven
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer