I'm trying to load a signature into a pictureBox but its giving the "Parameter not valid" error message when it tries to convert into bitmap from the MemoryStream store. Refer code below.
public Bitmap getSignature()
MemoryStream ms1 = new MemoryStream(Signature);
Bitmap signature = new Bitmap(ms1);
I used the same code for a photo and it works, but not for the signature. The signature data type is of Binary.
Ask a Question
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!