Skip to content
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

Filtered Image blur on mobile #78

Open
roxyadaa opened this issue Aug 10, 2021 · 3 comments
Open

Filtered Image blur on mobile #78

roxyadaa opened this issue Aug 10, 2021 · 3 comments

Comments

@roxyadaa
Copy link

I am using this filter for react-native iOS. Its working fine with simulator but when I am looking at filtered images on mobile then showing blur. I have attached the screenshot and also sharing the code of filter. Please provide the solution ASAP

IMG-20210810-WA0003__01

import React, { PureComponent } from 'react';
import { Image } from 'react-native';
import {IosCIExposureAdjust,Saturate,Tint,Sharpen} from 'react-native-image-filter-kit'

export default class Andy extends PureComponent{
constructor(props){
super(props)
}

render(){
    return(
        <IosCIExposureAdjust
            extractImageEnabled={true}
            cleanExtractedImagesCache={true}
            onExtractImage={({nativeEvent}) => this.props.parentCallback(nativeEvent.uri)}
            inputEV={0.20}
            inputImage={
                <Saturate
                    amount={1.10}
                    image={
                        <Tint 
                            amount={0}
                            image={<Image source={{uri:this.props.image}} style={this.props.style} />}
                        />
                    }
                />
            }
        />
    )
}

}

@roxyadaa
Copy link
Author

I am waiting please reply soon

@manav-kasare
Copy link

I am facing the same issue. @roxyadaa Were you able to fix it?

@RaphaelHadjadj
Copy link

@roxyadaa @manav-kasare
Try to set prop: disableCache to true, I had a similar issue.
<Saturate disableCache />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants