Failing to write Basic Profile image field in Ceramic DID using

I set the image field of the object to imageObject = event.currentTarget.files[0] which returns the file object in react and tried to write the data in ceramic DID using self.set("basicProfile",{image:imageObject}) but it return this error.

Error: HTTP request to '' failed with status '': {"error":"Validation Error: data/image must have required property 'original'"}

Can you please help me resolve this issue? thanks.

I found the Answer to this here.