Having trouble with the signature capture component when using savetostream. All I get is a black background image - no signature. In my code I also test with savetofile with same result.
SaveToFile/SaveToStream persist in the native internal vector format of the TTMSFNCSignatureCapture component. If you need it as image file, use SaveToImageFile / SaveToImageStream
Have just tried using SaveToImageFile / SaveToImageStream but still get same result - black rectangle. Is there something else I could be missing here.
No. Image format is bmp. Just for a bit of background....I am populating fields in a pdf (invoice) and then adding a customer signature. Using Gnostice Document Viewer component to achieve this and all works fine except for adding the signature. I have created an example signature .bmp file for testing using Microsoft Paint and that works good so the problem is not the document viewer component. Gnostice tell me that I must use either bmp or jpg on their component - there is currently no support for png. The code I use is:
The test lines are there so I can see what the image looks like and each time it is a black rectangle (this matches what I see on the PDF). 'InvSign' is the name given to the signature capture component. Never really worked with graphics before so it might simply be that my code is wrong. Any help will be appreciated.