-
Notifications
You must be signed in to change notification settings - Fork 711
[css-color-4] Transfer function for ProPhoto RGB #5229
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
Comments
I see Bruce Lindbloom also gives the gamma as a simple 1.8 |
The original Kodak specification for ProPhoto RGB is 404 and their current website has no search function. But Web Archive has it |
From the Kodak whitepaper:
|
Adobe ICC profiles for RGB spaces by and large use the simple exponent method and not the piecewise, and this includes their profiles for sRGB and Rec709 that ship with AfterEffects. As a side note, ProPhoto is pretty useless for 8bit RGB, the ∆E errors are substantial. Even 10bit is not enough, though 15 or 16 is okay. The only "real" use case for it is being able to edit images destined for 4+ color printing while remaining in an RGB space. Hence the 1.8 gamma and the D50 wp. When doing pre-press, editing images in CMYK is gruesome — ProPhoto alleviates much of that. But ProPhoto is a terrible colorspace for many common use cases such as images for display on RGB monitors or for cinema/video applications — ProPhoto is a really bad workflow choice for those. |
In the predefined colorspaces, the transfer function for
prophoto-rgb
is stated to be 1.8.In Design and Optimization of the ProPhoto RGB Color Encodings, by the authors of ProPhoto RGB, the transfer function is described thus:
On the ICC website, an extract of ISO 22028-2:2013 (which defines ROMM, and thus ProPhoto RGB shows an equation
The Wikipedia article appears to be accurate and describes a similar toe, with a breakpoint at Et
which is the same as the ISO standard but with an explanation of the magic number (and one more digit of precision).
I have heard that an ICC profile distributed by Adobe with Photoshop is described as ProPhoto but uses a simple 1.8 gamma with no toe. (I have also heard that they distribute a similar ICC profile described as sRGB with a simple 2.2 gamma). This may be the origin of the 1.8 gamma often described for ProPhoto RGB. Also, on an 8-bit (0 to 255) system, the breakpoint occurs midway between codes 0 and 1 so has no effect. However, due to the very wide gamut, at least 10 and more likely 12 bits of precision are needed to avoid banding, so the toes does affect the rendered result.
I intend therefore to change the transfer curve in the specification, and the sample code, setting the constant for the breakpoint as 1/512.
The text was updated successfully, but these errors were encountered: