YanYuanFE / react-native-signature-canvas

:black_nib: React Native Signature Component based WebView Canvas for Android && IOS && expo
MIT License
417 stars 149 forks source link

Is it possible to set the output image dimensions? #362

Open bobonthenet opened 1 month ago

bobonthenet commented 1 month ago

It looks like the output image dimensions are based on the canvas dimensions. I am able to alter the output dimensions by setting the webstyle as in #126 however, it looks like the output image dimensions are still not going to be consistent and the canvas size is undesirable for capturing a signature when I set it to the desired output image dimensions. If this is not possible now it would be helpful to have this feature added in the future.

jackw3434 commented 1 month ago

same issue here, the signature image is massive after I upload to my db and view in the web. I need to be able to set custom dimensions on the base64 string