[Lcms-user] alpha blending in LAB space

2006-12-05 Thread Yaron Tadmor
Hi, I'm pretty new to color management, and color profiles. I'm writing an application which allows to composite several images on a single canvas, and each image can have its own color profile. The global canvas also has a color profile (which is the color profile the final canvas image will be e

Re: [Lcms-user] alpha blending in LAB space

2006-12-05 Thread Mike Russell
alpha blending in LAB space From: Yaron Tadmor I'm pretty new to color management, and color profiles. I'm writing an application which allows to composite several images on a single canvas, and each image can have its own color profile. The global canvas also has a color profile (which i

Re: [Lcms-user] alpha blending in LAB space

2006-12-05 Thread Kai-Uwe Behrmann
Yaron, just some questions back to you: Relying on OpenGL's output means most of the time to be dependent on hardware. While the idea is very nice to let the GPU perform the PCS alpha blending, are you shure reading from a texture is not a performance bottleneck? Are all your supported plattfo

Re: [Lcms-user] alpha blending in LAB space

2006-12-05 Thread Yaron Tadmor
Hi Kai, First, Thanx for the help. I'll try to explain better what I do. I have several layers 1 to n, each with its own profile (let's call it profile-i). I'm blending them all together (similar to layers in PhotoShop) on a single canvas which has its own profile as well (let's call it profile-

Re: [Lcms-user] Lcms-user Digest, Vol 7, Issue 3

2006-12-05 Thread Yaron Tadmor
Hi Mike, That's very interesting. So what you're basically saying that blending will give different results in different spaces including PCS's. For some reason I assumed the PCS's are general enough to do all blending properly, but that could be due to some conceptual misunderstanding of color s

Re: [Lcms-user] alpha blending in LAB space

2006-12-05 Thread Kai-Uwe Behrmann
Possibly reducing the number of blending colour spaces is a solution. Blending of mixed colour space layers is not a consistent thing anyway. You could read the pdf spec how it was solved there. Chapter 7.2.3 in the pdf reference 1.6 for instance. regards Kai-Uwe Behrmann

Re: [Lcms-user] alpha blending in LAB space

2006-12-05 Thread Graeme Gill
Yaron Tadmor wrote: > For some reason I assumed the PCS's are general enough to do all > blending properly, but that could be due to some conceptual > misunderstanding of color spaces, profile and/or blending. Blending is what you define it to be. The closest thing to a "natural" blend is to emula

Re: [Lcms-user] alpha blending in LAB space

2006-12-05 Thread Gerhard Fürnkranz
Original-Nachricht Datum: Tue, 5 Dec 2006 14:18:40 +0200 Von: "Yaron Tadmor" <[EMAIL PROTECTED]> An: "Lcms Liste" Betreff: Re: [Lcms-user] alpha blending in LAB space > I'll try to explain better what I do. > I have several layers 1 to n, each with its own profile (let's call i

Re: [Lcms-user] alpha blending in LAB space

2006-12-05 Thread Yaron Tadmor
If I understand the spec correctly, it says (pretty much like I thought), that all objects should be converted to the output device's color space and composited there (unless I misunderstood). In my application, even if I use one input profile, if it's CMYK I still have a problem, since I'd need t