[argyllcms] Issues with generating a self-cancelling profile

  • From: Etienne Dechamps <etienne@xxxxxxxxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Sat, 27 Jul 2013 12:20:14 +0100

I'm currently generating some test profiles for testing color-managed systems: http://forum.doom9.org/showthread.php?p=1638446#post1638446


I would like to generate a "self-cancelling" test profile, and by that I mean, a RGB device test profile that contains video card gamma tables and profiling information such that the calibration and profiling information cancel each other out, resulting in a "no-op" (i.e. sRGB) profile.

I tried the following procedure:

  targen -d3 strangecancel
  fakeread -k strange.cal sRGB.icm strangecancel
  colprof strangecancel
  collink sRGB.icm strangecancel.icm srgb2strangecancel.icm
  cctiff srgb2strangecancel.icm sample.jpg sample.strangecancel.jpg

In the end I expect sample.strangecancel.jpg to look identical (or at least very similar) to sample.jpg. Instead I end up with sample.strangecancel.jpg looking "warm", as if the calibration curves had not been applied to it. However, if I try to use applycal after colprof, or if I try to apply strange.cal in cctiff, I end up with the opposite (blueish tint as if only the calibration had been applied but no profiling).

What am I doing wrong?

--
Etienne Dechamps

Other related posts: