currently i'm displaying encoded signature in my apex page in this way :
<apex:image value="data:image;base64,{!Call.Signature__c}" />
Now i want this encoded signature to be saved in attachment object and then reference it in the visualforce page for a successful renderas pdf. please provide me detail technical solutions