Hi Guy,
I have addressed all your requests in lcms 2.0. That will be the next relea se. You have cmsReadTag() and cmsWriteTag(), which are symmetrical and behaves exactly as you describe. You have also cmsReadRawTag() and cmsWriteRawTag() to read/write uncooked blocks of data. You have also cmsLinkTag() to write tag entries that points to already existing tags, and finally you have tag and tag type plug-ins for creating your own proprietary tags. Hope that would fullfill all your requeriments. Best regards Marti Quoting "Guy K. Kloss" <g.kl...@massey.ac.nz>: > Hi Marti and others, > > For my work I need to have means of accessing the tags of a profile. For most > of the tags that I need there are specific cmsTake*() and cmsRead*() > functions > available for the various tags. I'm also trying to put a mechanism for > accessing the tags' content into the Python bindings. So for this I'd lik e to > be able to access *all* tags. During these efforts these issues arose: > > * There seem to be tags in the list within the tutorial/API description t hat > are not accessible through any of these specific functions. > > * It is quite simple to create and add *all* types of tags through the > cmsAddTag() function. This function takes the profile handle , the tag > signature, as well as a reference to the tag content. This last bit, th e > reference, is a void pointer. Wouldn't it be nice if there was a > symmetrically equivalent function cmsReadTag() (or cmsTakeTag() for > consistent naming), that returns a void pointer, and we could just cast it > to whatever type we need? It would make retrieving the content of a pro file > *much* easier and more generalised. > > Guy > > > > -- > 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 > > ------------------------------------------------------------------------- ----- > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-D ay > trial. Simplify your report design, integration and deployment - and focu s on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Lcms-user mailing list > Lcms-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/lcms-user > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user