Hi all, I have just finished some major overhaul of the handling of tags in my Python bindings. They've been equipped with a much more Pythonic API. It is now also easily possible to retrieve a dictionary on a profile containing all (most?) embedded tags, as far as they're accessible through the LCMS 1.x C API. The objects in the dictionary are indexed by the tag signature index, and the corresponding values adhere to an object inheriting from an abstract Tag class. When reading the "tags" attribute on a profile *all* tags are read and dumped into this for maximum ease of usability. A sample on how to access tag information is also enclosed.
The code is in the Bazaar repository hosted on Launchpad here: https://launchpad.net/pylittlecms I've got a tar ball rolled ready, but need to find out (again :-/) how to push it up to LP. But that should follow soon. If you want "early" access, just send me a mail. Guy changes in version 0.7: * completely changed management of tags: abstraction classes for tag types * tag introspection added to tag abstractions * querying of all (most) tags of a profile that are accessible through LCMS 1.x * management of tags in a dictionary * simple access to media white point through a specific profile attribute * as always: code and unit test sanitation -- Guy K. Kloss Institute of Information and Mathematical Sciences Te Kura Pūtaiao o Mōhiohio me Pāngarau Massey University, Albany (North Shore City, Auckland) 473 State Highway 17, Gate 1, Mailroom, Quad B Building voice: +64 9 414-0800 ext. 9585 fax: +64 9 441-8181 g.kl...@massey.ac.nz http://www.massey.ac.nz/~gkloss ------------------------------------------------------------------------------ Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user