[Gimp-developer] Does "Hue", "Saturation", "Value" layer modes need HSV? How about CIE LCH instead?

2009-08-02 Thread Martin Nordholts
Hi, The "Color" layer mode has since long produced bad results, see bug 325564 [1] for a way to see this. The cause is a combination of rounding errors due to 8bit processing and poor properties/usage of the underlying color model HSL. I have just implemented Color based on the CIE LCH color m

Re: [Gimp-developer] Does "Hue", "Saturation", "Value" layer modes need HSV? How about CIE LCH instead?

2009-08-02 Thread SHIRAKAWA Akira
Martin Nordholts wrote: > Does anyone see any problems with using CIE LCH instead of HSV for these > layer modes? We can ignore backwards compatibility issues for now. I very rarely use layer modes (and I'm not a GIMP hacker so I'm probably missing something), but if using internally CIE LCH fo

Re: [Gimp-developer] Does "Hue", "Saturation", "Value" layer modes need HSV? How about CIE LCH instead?

2009-08-02 Thread Martin Nordholts
On 08/02/2009 12:19 PM, SHIRAKAWA Akira wrote: > Martin Nordholts wrote: > >> Does anyone see any problems with using CIE LCH instead of HSV for >> these layer modes? We can ignore backwards compatibility issues for now. > > Except for the final results, will there be any change at a user > interac

Re: [Gimp-developer] Does "Hue", "Saturation", "Value" layer modes need HSV? How about CIE LCH instead?

2009-08-02 Thread David Gowers
On Sun, Aug 2, 2009 at 7:49 PM, SHIRAKAWA Akira wrote: > Martin Nordholts wrote: > > > Does anyone see any problems with using CIE LCH instead of HSV for these > > layer modes? We can ignore backwards compatibility issues for now. > > I very rarely use layer modes (and I'm not a GIMP hacker so I'm

Re: [Gimp-developer] Does "Hue", "Saturation", "Value" layer modes need HSV? How about CIE LCH instead?

2009-08-02 Thread Martin Nordholts
On 08/02/2009 12:59 PM, David Gowers wrote: > LCH processing is definitely slower than HSV or HSL (whether optimized > or not), so this may have an impact on display update speed (and > consequently on user experience) Problems with real-time responsiveness when using LCH is a good point, and usi

Re: [Gimp-developer] XMPModel and custom signals

2009-08-02 Thread Roman Joost
Hi Martin, On Sat, Aug 01, 2009 at 09:32:36AM +0200, Martin Nordholts wrote: > On 07/31/2009 07:12 AM, Roman Joost wrote: > > I could and the patch provided by that bug adds a custom > > 'property-changed' signal. Sven and Mitch thought, if I inherit from > > XMPModel, I wouldn't really need the '

Re: [Gimp-developer] XMPModel and custom signals

2009-08-02 Thread Martin Nordholts
On 08/02/2009 01:50 PM, Roman Joost wrote: >> does not change the fact that it would be nice to have a >> 'property-changed' signal as a convenience if you have the need to >> listen property changes > So ... I'm just wondering. If I like to use two signals for the > XMPModel, does it still make se

Re: [Gimp-developer] Does "Hue", "Saturation", "Value" layer modes need HSV? How about CIE LCH instead?

2009-08-02 Thread Emil Assarsson
Nice work Martin :-) I'm trying to make a valid comparison of the two images from PS and Gimp but it seems like the have block distortions from jpeg compression or something? I mostly use the color layer mode for overlay painting on black and white sketches. Here is an example of the use: http://

[Gimp-developer] Locking a layer

2009-08-02 Thread Luis Diego Alpizar Alpizar
_ Tienes BlackBerry, obtén Messenger y Hotmail - Clic Aquí http://www.windowsliveentublackberry.com ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.B

[Gimp-developer] locking a layer

2009-08-02 Thread Luis Diego Alpizar Alpizar
_ Mes de la amistad… disfrútalo con MSN Amor y Amistad http://match.latam.msn.com/channel/index.aspx?trackingid=1056244 ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU

Re: [Gimp-developer] Does "Hue", "Saturation", "Value" layer modes need HSV? How about CIE LCH instead?

2009-08-02 Thread Martin Nordholts
The input I've gotten so far removed any remaining doubt about porting those layer modes to LCH, so I've done that now: commit 18603ac192493296b191197a3e2b62c710398afd Author: Martin Nordholts Date: Sun Aug 2 21:35:10 2009 +0200 Bug 401754 – Port Hue, Saturation, Value to CIE LCH When

[Gimp-developer] Question about: JPEG / JFIF comments

2009-08-02 Thread Rashid Kratou
Hi guys, my name is Rashid, I'm 23, studing computer science in germany and I need your help. I need to save / read a comment in a jpeg file for a project. It must be a jfif comment (not exif). My OS is Ubuntu 9.04 and I have used libexiv2 (but they told me now, I have to use a jfif comment

Re: [Gimp-developer] Does "Hue", "Saturation", "Value" layer modes need HSV? How about CIE LCH instead?

2009-08-02 Thread David Gowers
On Mon, Aug 3, 2009 at 5:13 AM, Martin Nordholts wrote: > The input I've gotten so far removed any remaining doubt about porting > those layer modes to LCH, so I've done that now: > > commit 18603ac192493296b191197a3e2b62c710398afd > Author: Martin Nordholts > Date: Sun Aug 2 21:35:10 2009 +02