-
Notifications
You must be signed in to change notification settings - Fork 99
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
add multiple icons and texts with a single function #222
Comments
Hello, currently no API can set both image and text watermarks at the same time. You can try setting them in separate steps. let res = await Marker.markText(textOptions);
res = await Marker.markImage({ backgroundImage: { src: res }, ...imageOptions }); |
How can i add watermarkImages and watermarkTexts in single function so now I'm able to achieve with different function for markImage and markText. const overlayedImage = await ImageMarker.markImage({ let res = await Marker.markText(textOptions); |
Hey @JimmyDaddy and @k2-ux |
import { const WaterMarkImage = () => { async function mark() {
} async function pickImage() {
} return (
); const styles = StyleSheet.create({ export default WaterMarkImage; |
Describe the bug
I want to set the icons and texts with a single function to achieve something like the image attached
Devlopment environment(please complete the following information):
react-native: 0.72.5
react-native-image-marker : 1.1.x
Smartphone (please complete the following information):
Device: emulator & device

OS: android (for now)
Additional context
it is something close to a watermark
The text was updated successfully, but these errors were encountered: