Hello Pascal,

This is exactly the same situation as primary platform. For some uses  
you have an alternative by using tag calibrationDateTimeTag 'calt'.

If you set this field by hand, you miss its primary goal which is to  
identify when profile was first created. If you want to do so anyway,  
you can read the header, change whatever you want and write back the  
header. That's why the header struct is defined in lcms2.h

> it might be nice if the output ICC would be bit identical each and  
> every time,

Not sure about this. This field is excluded from the MD5 when  
computing the Profile ID. Anyway the creation time is ignored by CMM.  
ICC spec seems to prefer time tracking that exact binary files.

Regards
Marti

Quoting Pascal de Bruijn <pmjdebru...@gmail.com>:

> Hi,
>
> Currently when generating profiles dynamically using LCMS, the current
> date/time is embedded into the ICC header, which is fine as default
> behavior.
>
> However, from an application point of view, it might be nice if the output
> ICC would be bit identical each and every time, thus requiring a static
> HeaderCreateDateTime.
>
> I noticed the API has a function to retrieve the HeaderCreateDateTime:
>
> cmsBool cmsGetHeaderCreationDateTime(cmsHPROFILE hProfile, struct tm *Dest);
>
> But I do not see a companion function like cmsSetHeaderCreateDateTime...
>
> So my question is whether a version of LCMS in the deeper future might have
> such a function...
>
> And if there is trick to do this anyway in the mean time?
>
> Regards,
> Pascal de Bruijn



------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to