Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generator #1

Open
signalwerk opened this issue Nov 13, 2019 · 1 comment
Open

Generator #1

signalwerk opened this issue Nov 13, 2019 · 1 comment

Comments

@signalwerk
Copy link

Hey! This is super awesome! I just came across your repo and I already love your small profiles! Just out of curiosity: Is the code to produce the profiles also opensource?

@saucecontrol
Copy link
Owner

Howdy! Thanks for the kind words!

I'm afraid the software never made it out of the prototype stage, so I haven't published the source code anywhere. As of now, I have 3 separate utilities, in various states of refinement:

  1. A curve-fitting and evaluation utility. This process involves a judgement call on the optimal balance of size/accuracy, so the process is highly manual and the utility is very rough.
  2. A utility to calculate and nudge/balance color matrices. This one is much more straightforward and could probably be automated, but I haven't done so because of the need to tweak matrices with negative profile-adjusted XYZ values.
  3. A utility to calculate and write the profile ID. This just calculates and writes an MD5 hash without touching the data since other profile editors that do this would destroy the custom packing.

All of the profiles in the collection were hand assembled in a hex editor because the optimal packing was different depending on profile contents. I then verified them using ICC tools. V4 profiles would be easy to automate, but V2 would take a bit of work.

Coincidentally, I just this week found myself in need of a couple of new profiles for video colorspaces, so I'll probably take a look at automating more of the process. I'll update here if I get anywhere with that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants