Closed LokeshReddy63 closed 10 months ago
With a threshold of >1 tried but not solving it
Hey, sorry for late answer.
Problem can be, that you don't have specified Canvas size.
I guess you need to call notifyDimension
before exporting image (toImage
).
Please also check your export data (toMap
) if there is bounds
specified with non-zero values, so you can set control (and canvas) dimensions to this bounds.
Do i need to do anything to get the image file adding my code snippet. i am not adding any HandSignature in the widget, i was storing the signature map data in the state and when ever i wanted i used a handsignature controller and tried to create an image that has to be added to a PDF Image.
My code :
ERROR :