TMSFNSSignatureCapture LoadFromStream/File causes 'Out of Memory' error

Now it's more clear. From your initial question it looked like you were trying to save from one TTMSFNCSignatureCapture to another.

You cannot combine saving to an image and loading from a stream. When loading from a stream it is expected the stream will be a stream produced by TTMSFNCSignatureCapture. This is because the stream produced by TTMSFNCSignatureCapture contains the coordinate points, color, etc... for the signature, so it's incompatible with image formats.

There are 2 things you can do:

  1. If signature image storing is not a must, then you can use SaveToFile instead of SaveToImageFile. This should produce a file that is compatible with the stream loading mechanism.
  2. If it's important for you to keep the signature as an image too, then we'd suggest adding an extra DB field where you'll store the signature stream and use that field to load the signature back.