-
Notifications
You must be signed in to change notification settings - Fork 478
Description
@wysaid hi, i just modified some BasicImageDemoActivity.java filter and add @Curve filter t at 0 index then run program, i fond that @Curve filter is not working with @adjust.
`
protected static final String BASIC_FILTER_CONFIG = "@Curve R(0, 0)(117, 95)(155, 171)(179, 225)(255, 255)G(0, 0)(94, 66)(155, 176)(255, 255)B(0, 0)(48, 59)(141, 130)(255, 224) @adjust brightness 0 @adjust contrast 1 @adjust saturation 1 @adjust sharpen 0";
protected static final String[] BASIC_FILTER_NAMES = {
"curve",
"brightness",
"contrast",
"saturation",
"sharpen"
};
AdjustConfig[] mAdjustConfigs = {
new AdjustConfig(0, 0.0f, 0.0f, 1.0f), //curve
new AdjustConfig(1, -1.0f, 0.0f, 1.0f), //brightness
new AdjustConfig(2, 0.1f, 1.0f, 3.0f), //contrast
new AdjustConfig(3, 0.0f, 1.0f, 3.0f), //saturation
new AdjustConfig(4, -1.0f, 0.0f, 10.0f) //sharpen
};
`