Bug 387352 - Color Adjustment curves save and load option
Summary: Color Adjustment curves save and load option
Status: REPORTED
Alias: None
Product: krita
Classification: Applications
Component: Filter Layers (show other bugs)
Version: 4.0 pre-alpha
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-27 12:16 UTC by Alex
Modified: 2020-04-07 13:44 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex 2017-11-27 12:16:02 UTC
PS "inspired" feature to load and save curve control points. If PS acv is not free it maybe it can use .rtc from RawTherapee like this:

------------
Spline
0 0
0.098 0.055
0.207 0.215
0.273 0.334
0.336 0.461
0.461 0.67
0.547 0.776
0.625 0.847
0.699 0.897
0.785 0.94
0.863 0.97
0.935 0.99
1 1
----------

Some code available here:
https://github.com/Beep6581/RawTherapee/blob/dev/rtgui/curveeditorgroup.cc
https://github.com/Beep6581/RawTherapee/blob/dev/rtgui/curveeditorgroup.h
Comment 1 Tiar 2020-04-07 13:44:15 UTC
Note: the same curve file format (and saving/loading code) should be used for all three suggested options:
- curve adjustments (bug 387352 (this one))
- global pressure curve 
- brush editor sensor curves (bug 391927, related: bug 401496)