nativescript-community / nativescript-drawingpad

:pencil: NativeScript plugin to provide a way to capture any drawing (signatures are a common use case) from the device
Apache License 2.0
90 stars 32 forks source link

Enable set a background image #11

Closed Daxito closed 7 years ago

Daxito commented 8 years ago

Hi, would be it be easy to add the ability of adding a background image?

bradmartin commented 8 years ago

The component does extend View class from NativeScript so those properties should be possible to support. The kicker is if the native libraries have limitations which I haven't looked into.

bradmartin commented 7 years ago

@Daxito did you try setting a background to the view?

Daxito commented 7 years ago

@bradmartin Right now I am working on something else, but this is something I might have to retake a look at. I did not set a background to the view, if I do that, would my annotations be permanent on the image? I actually need to modify the images by drawing on them then save them.

bradmartin commented 7 years ago

yea... don't think that will work as it is. I don't think the native libs expected that as a use case so it's likely not possible with their implementation. Might be something I look into in the future but no time right now.

Daxito commented 7 years ago

ok, just wondering, I will check other options, thank you!