Marti, Thank you for clarifying the status of python-lcms. Perhaps you can suggest an alternative for me.
I'm trying to make sense of how colour is managed on my Linux systems - the bookkeeping, so to speak. Different programs save and search for ICC files in different directories. colord uses a sqlite database. Some programs such as dispcalGUI seem to try to "do the right thing" depending on what other programs they find installed, without publicly documenting their logic. The Fedora version of dispcalGUI behaves differently from the directly downloaded version. Behaviour can vary depending on whether one logs in to a KDE, GNOME, or MATE session on the same system. Often what documentation I find describes how things used to be, not how they currently are. The same ICC file can appear in multiple locations, etc. etc. Linux colour management is a work in progress. After spending some time cross-referencing the documentation of which programs access files where, looking at debug output, and peeking at source code, I decided to write some Python scripts that inventory the ICC files found on a system and the contents of the colord databases, determine which profiles are actually loaded, etc. I'm not trying to apply transforms or anything like that, I just want to inspect ICC files, asking questions like the manufacturer, model, and serial number of the the profiled device, the measurement device used to perform the profiling, whether the ICC file contains a VCGT field with LUT data etc. All things that the LittleCMS API does trivially. Can you suggest an alternative way for me to inspect an ICC file from a scripting language, or do I need to be writing C code? Thanks again, Sanford On 03/29/2013 09:10 AM, Marti Maria wrote: > Hi, > > Since lcms 2.0 python is no longer supported. The lcms1 swig wrapper > was indeed > a sort of bad joke, with very limited functionality. Maybe someday we > would retake > python, but this is not in the short term schedule. > > > Regards > Marti > > El 28/03/2013 23:01, Sanford Rockowitz escribió: >> Can someone point to some instances of Python code (samples or a >> downloadable open source project) that uses python-liblcms to read >> information from an ICC profile? >> >> On my distros (Fedora, Ubuntu, SuSE), python-liblcms is for lcms 1.19; >> the only lcms C api doc I find is for 2.4; and I've no experience with >> SWIG generated stubs. Combining all three factors, some sample code to >> look at would be very helpful in trying to use the package. >> >> Thanks. >> >> Sanford >> >> >> ------------------------------------------------------------------------------ >> >> >> Own the Future-Intel(R) Level Up Game Demo Contest 2013 >> Rise to greatness in Intel's independent game demo contest. Compete >> for recognition, cash, and the chance to get your game on Steam. >> $5K grand prize plus 10 genre and skill prizes. Submit your demo >> by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 >> _______________________________________________ >> Lcms-user mailing list >> Lcms-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/lcms-user >> > > ------------------------------------------------------------------------------ Own the Future-Intel(R) Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user