Re: [Lcms-user] Beginner's questions

2004-12-16 Thread Boudewijn Rempt
On Monday 13 December 2004 12:59, Boudewijn Rempt wrote: * With cmsDoTransform, is the fourth parameter the number of pixels in the buffer, the number of channels in the pixel or the total number of bytes for the buffer? If not the first possibility, how can I convert between models that

Re: [Lcms-user] Beginner's questions

2004-12-16 Thread Kai-Uwe Behrmann
In CinePaint is an device link file based caching implemented. http://cinepaint.sf.net Naturally not all options are available with device links. Once You use device links, will be bound by them or You have to create exceptions. Would an transform cache fit in an global memoy space? This using

Re: [Lcms-user] Beginner's questions

2004-12-16 Thread Bob Friesenhahn
On Mon, 13 Dec 2004, Marti Maria wrote: * Does it make sense to cache transforms in my application? If you mean caching pixels in a transform, no. There is a one-pixel cache already implemented. If you mean caching yet existing color transforms... hard to say. A transform can take a lot of

Re: [Lcms-user] Beginner's questions

2004-12-16 Thread Marti Maria
applications. Sometimes they call it matteing. Regards, Marti Maria The little cms project http://www.littlecms.com - Original Message - From: Boudewijn Rempt [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 13, 2004 12:59 PM Subject: [Lcms-user] Beginner's questions Hi, I'm

Re: [Lcms-user] Beginner's questions

2004-12-16 Thread Kai-Uwe Behrmann
So I would interprete Your ideas as: an device link handling system (used by all applications, which want to share the transforms) is essential to set up and run such cache, without interfering from application side - correct? (I must say, I did not yet play with mmap-ing) regards Kai-Uwe

[Lcms-user] Beginner's questions

2004-12-16 Thread Boudewijn Rempt
Hi, I'm currently making Krita, the KOffice image app, use littlecms for everything color related, and I'm having a few questions... * With cmsDoTransform, is the fourth parameter the number of pixels in the buffer, the number of channels in the pixel or the total number of bytes for the

Re: [Lcms-user] Beginner's questions

2004-12-13 Thread Kai-Uwe Behrmann
Am 14.12.04, 09:49 +0100 schrieb Boudewijn Rempt: I've been experimenting, and I definitely need to cache at least some transforms. It turns out to be prohibitively slow to recreate the transform to the monitor profile for every display action, for instance. Can You describe the display

Re: [Lcms-user] Beginner's questions

2004-12-13 Thread Bob Friesenhahn
On Mon, 13 Dec 2004, Kai-Uwe Behrmann wrote: Would an transform cache fit in an global memoy space? This using the same memory across applications and save space. Is taking the profile id's of both involved profiles plus creation options sufficent? Using a memory-mapped file obtains the benefit of