alcinnz, LibPoppler's Output Devices' ProfileData tracks total, min, max, & count for all the numbers fed to it. It has refcounted void-pointers for its colour profiles. I expected to see more here!
It has multiple GfxICCBasedColurSpace objects stored in those pointers & a parallel-array cache. These track:
of colour components
- an alternate "colour space"
- min & max values for each component
- sourcefile reference
- refcounted void pointer to its "profile"
- PostScript CSA string
...1/2!