'React native expo set image grayscale [duplicate]

how i can set my image string base64 to grayscale in react native expo

i'm try to set style but it not working

style like

tintColor: 'gray',
opacity: 0.3,

and try to use react-native-grayscale but is only iOS

i'm want image result like this



Solution 1:[1]

Duplicate of this question

Set the opacity according to your requirements.

<View>
<Image
          source={Images.Logo}
          style={{
            width: width * 0.5,
            resizeMode: "contain",
            tintColor: "gray",
          }}
        />
        <Image
          source={Images.Logo}
          style={{
            position: "absolute",
            opacity: 0.1,
            width: width * 0.5,
            resizeMode: "contain",
          }}
        />
        </View>

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Immortal