Hello Gerhard, Caspar and list.
So, it seems to be not so complicate to save a coloradjustment as devicelink-profile or abstract profile.

For me, the ASCII-File was an exmple to illustrate, what I want.
An Array in C would be quite similar, as I understand.
The Array has no other function as to record the coloradjustment. So it can be precalculated with regular set gridpoints. A grid of 33*33*33 should be fine enough to record a color adjustment in RGB-colorspace.

If Caspar would implement this in Krita for device-dependent coloradjustments, he has to do following steps:
- precalculate the Array one time and put it in his C-code
- transform the array with the actual coloradjustment
- link the orginal-values of the array with the transformed values via lcms and generate a devicelink-profile

If Caspar would implement this for device-independent coloradjustments, the workflow would be similar:
- precalculate an regular array of Lab-values
- transform the array withe actual coloradjustment
- link the original-values withe the transformed values to an abstract profile via lcms

The "coloradjustment-recorder" could be implemented as following:
- convert the precalculated Array to an image
- manipulate the image with all the tools you want
- convert the manipulated image back to an Array
- link the orginal-values of the array with the transformed values via lcms and generate a devicelink-profile

Helpful for coloradjustments are also testimages. The best would be to have an sample-image wich includes the converted Array at the top or bottom. So we would need a function to read only some defined pixels of the sample image and convert it to an Array.

For the developers in the list:
- Is it understandable what I described ?
- How much work would it be to implement it e.g. in Krita ?

warm greetings
:-) Jan-Peter



Gerhard Fuernkranz wrote

It would be useful to have an easy way to convert color adjustments to an abstract-profile or an devicelink-profile, which could applied in every application, which uses lcms or argyllcms.


Indeed (actually abstract or device link profiles aren't not even limited to
argyll or lcms applications, but are even more general).


Concerning devicelink-profiles i have following questions to marti, graeme or other CMM-developers:

Is there code available, which can convert an ASCII file to a devicelinkprofile ?


If the application can supply a C funtion which carries out the
transformation, then the LCMS library provides easy to use interfaces to
sample this transformation at regular intervals in order to create a CLUT,
and a device link profile.

E.g. if I perform a color transformation in an image editor, then it needs
to apply the transformation to each image pixel anyway, so it should not be
a big problem to alter the editor, such that it also applies the same
transformation to each CLUT grid point being sampled, in order to record the
transformation in a profile.



--
--

homann colormanagement ------ fon/fax +49 30 611 075 18
Jan-Peter Homann ------------- mobile +49 171 54 70 358
Kastanienallee 71 ------- http://www.colormanagement.de
10435 Berlin --------- mailto:[EMAIL PROTECTED]



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to