Skip to content

Set custom setting for apply brightness , saturation , contrast etc #43

Open
@anvpn

Description

@anvpn

Hi wysaid

I hope you are doing well , Again i need your expertise help

I have requirement of set brightness,contrast,saturation as user want , i want to customize the filter as user want

I will give three slider where user can set the slider value and filter reflect according that

I have tried by following way

float currentBrightness = [sender value] ;//* 3.0f - 1.0f; //[-1, 2]

const char* config = "@adjust brightness ";

NSString *configDate = [NSString stringWithUTF8String:config];
 configDate =  [configDate stringByAppendingString:[NSString stringWithFormat:@"%.2f",currentBrightness]];
config = [configDate UTF8String];

NSLog(@"brightness effect %s--------",config);

[_myCameraViewHandler setFilterWithConfig:config];

Same for saturation and contrast but when i set brightness it works perfect but when apply saturation it wont work

Please suggest me how can i achieve this

Help really appricicated

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions