On Monday 02 August 2010 06:41:06 am marti.ma...@littlecms.com wrote: > > I wanted to use liblprof in gnome-color-manager. It uses lcms rather > > than lcms2 -- is there any chance that some of the functionality would > > be included in lcms2 in the future, or should I just try to migrate > > the code I need to lcms2? > > Hi Richard, > > I don't maintain lprof anymore and know the current > maintainer has changed (bettered) it significantly, but the > original library was using lcms as a foundation so probably > it will be easier to change lprof to accomodate the new > lcms2 function calls. It is quite possible that would be > an easy task. There is no missing functionality on lcms2, > all what you can do with lcms1 can be replicated wih > lcms2, but sometimes you have to change the function > names. > > Regards > Marti
In fact I would like to migrate LProf to lcms2 for a number of reasons. Currently LProf has an embedded modified version of lcms 1.17. This was needed to extend lcms to support the creation of VCGT tags since there was no way to do this short of modifying the lcms code (lcms1 did not have plugins). With lcms2 the is no need for a customized version as at most it will only need a plugin to handle this functionality (I have not looked - does lcms2 have VCGT support?). By migrating to lcms2 (and creating a VCGT plugin if needed) it would be possible to remove the embedded version of lcms and this would make things easier to maintain. The calls to lcms in LProf are fairly isolated in specific parts of the code (most - 98% - are in liblprof) and this should make migrating to lcms2 fairly straight forward. But LProf does use some lcms calls that are not part of the public interface of lcms (IE. internal calls) and this might cause some issues for the migration. Patches are welcome. Also what part of liblprof are you using (or planning to use)? Also currently liblprof is statically linked in the current LProf builds. Should this be changed so that it is a shared library (easy to do)? I know that the digikam project also uses some code from an earlier version of liblprof and perhaps having this as a shared library would make things easier for everyone. But at least some of the functionality that digikam is using is now embedded in a Qt4 designer plugin that is no longer part of liblprof so making liblprof shared may not help them. Hal ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user