Saving images after removing the View container's background, or setting it to transparent would result in an all-black image after saving on iOS only.
This PR aims to resolve this by creating the image with a transparency mask.
I realize now that I've removed the scale option from the call to UIGraphicsBeginImageContext, so let me know if this poses problems.
Saving images after removing the
View
container's background, or setting it to transparent would result in an all-black image after saving on iOS only.This PR aims to resolve this by creating the image with a transparency mask.
I realize now that I've removed the scale option from the call to
UIGraphicsBeginImageContext
, so let me know if this poses problems.This issue was also raised in Issue https://github.com/keshavkaul/react-native-sketch-view/issues/23
Before:
After: