Copy link to clipboard
Copied
I need to understand how brightness, contrast and saturation transformations are done in Photoshop. In Photoshop I found the following ranges for brightness, contrast and saturation:
I am trying to implement some photo filters in iOS (using native SDK). I'm finding it difficult to implement what I mockup in Photoshop because ranges used in Photoshop (above) does not match with the iOS native filter settings.
This question was originally posted on https://stackoverflow.com/questions/55461139/how-to-get-values-for-cicolorcontrols-from-photoshop
Copy link to clipboard
Copied
Only the developers will be able to tell you how those exact values "under the hood" and are applied to images in each colour mode and colour space. This is a user forum so is not monitored by developers.
Dave
Copy link to clipboard
Copied
What are you talking about exactly – Adjustments, Camera Raw, …?
Copy link to clipboard
Copied
I suggest you create control colour samples over a range, and apply Photoshop. By analysis and interpolation you may be able to get an approximation of what Photoshop does.
Adobe do do not give the info for you to create rival or compatible software so easily.
Copy link to clipboard
Copied
In addition to all of the above, range analysis may not be straightforward if you left the Legacy option disabled in Brightness/Contrast. With Legacy off, those controls roll off near the ends of the ranges to avoid hard clipping, so some kind of curve is probably involved. With Legacy on, they work like the earliest versions of Photoshop where the transformation is (I think...) linear and will clip if overdriven.
The Camera Raw sliders have even more non-linear "smarts" built into them. In general you'll get the best answer if you can ask the engineers directly, but this is only a user-to-user forum.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now