Re: [Gimp-developer] my new color-balance++ plug-in

2002-04-15 Thread Øyvind Kolås
* Sven Neumann <[EMAIL PROTECTED]> [020415 12:06]: > Hi, > > OEyvind Kolaas <[EMAIL PROTECTED]> writes: > > > I sat down this night and implemented a new color adjustment plug-in for > > the gimp. It is not completely finished yet but the basic functionality is > > there. > > I really like the

Re: [Gimp-developer] my new color-balance++ plug-in

2002-04-15 Thread Sven Neumann
Hi, OEyvind Kolaas <[EMAIL PROTECTED]> writes: > I sat down this night and implemented a new color adjustment plug-in for > the gimp. It is not completely finished yet but the basic functionality is > there. I really like the histogram being displayed in the levels widget. This feature is alrea

Re: [Gimp-developer] my new color-balance++ plug-in

2002-04-15 Thread Sven Neumann
Hi, looking at your code I found this comment: /* it seems that the layer must be added to the image before it can be removed from gimp's memory */ gimp_image_add_layer (image_ID_global, bp->layer_ID, 0); gimp_drawable_detach (bp->drawable); gimp_image_remove_layer (image_ID_global

Re: [Gimp-developer] my new color-balance++ plug-in

2002-04-15 Thread Sven Neumann
Hi, OEyvind Kolaas <[EMAIL PROTECTED]> writes: > But when I finally managed to seal the last memory leak I realised that > the code I ended up with was quite readable. > (for those interested, take a look at the bottom of > http://hal9001.2y.net/yuvadj/yuvadjust/main.c ) using goto does inde