-
Notifications
You must be signed in to change notification settings - Fork 150
Background Image is not returning back #88
Comments
I have this problem too. It would be really helpful if you could add a boolean property 'IncludeBackgroundImage' to the ImageConstructionSettings, so it can be backwards compatible. |
A feature to get the drawn component and the background as a single image is something that I would like to use as well. Would such a feature be considered to be added to SignaturePad? |
I'd like to see this implemented as well. |
It would be awesome indeed, I currently 'extended' the signaturepad view as follows: Forms View
IOS Renderer
Android Renderer
Feel free to use it. |
This seems to be a popular request, we will put this on the list of things to do for a future release. |
Vandersteen what are the using statements from your renderer classes? The type 'SignaturePad.Forms.SignaturePadView' cannot be used as type parameter 'TNativeView' in the generic type or method 'ViewRenderer<TView, TNativeView>'. There is no implicit reference conversion from 'SignaturePad.Forms.SignaturePadView' to 'UIKit.UIView'. |
IOS:
Android:
|
Vandersteen thats a great renderer, well done. You can make a basic image editor from that. |
I did not test it but I think you could do the following:
Same thing for android:
var watermark = new UIImageView(); ... Again, not tested, but that's where I would start |
Vandersteen NICE GOING! What you have developed is exactly what I need now. I have tried to implement it, but getting errors. Would it be possible for you to post a sample code of your render implementation? |
I posted the renderers above. For the view usage you will just need to do the following: var markingView = new MarkingView(); |
Vandersteen - thank you for the post. I implemented your code, but many problems arise and I cannot compile. I must be doing something wrong. Here is my code: `using System;
}` Here are the errors:
Any suggestions how to fix? |
This needs a bit more thought - same with other "chrome" features, similar to #127 |
I actually used the example of @Vandersteen to implement the signaturepad to allow us to annotate images. I know this component is meant for recording signatures, but we use it to let people annotate images they just selected or pictures they just took to clarify a photo of a situation. This works perfectly. Support built into the package would be great, because it would mean less code to maintain on our end. |
I would love to see this implemented as well. It would be really helpful. Thanks |
@Vandersteen very nice solution! However, I would want to pass an argument to the function such that I can save it to a specific directory. Could you help me extend the function for an additional parameter that I can pass into the |
I extended @Vandersteen's example by taking one more argument, such that I can pass in the directory where to save the files to. In my case, I want to save them in a specific directory for each signature:
And then you only need to extend the |
If you are setting BackgroundImage and draw on it, only drawn part will be returned, not BackgroundImage with drawings.
The text was updated successfully, but these errors were encountered: