title: Is there any ways to save image to Salesforce by using Salesforce APEX
body: <p>We are integrating WSO2 ESB with Salesforce. We need to <strong>insert image into Salesforce Object</strong>(Lead). Images are downloaded in some directory. i want to know efficient ideas to complete this task.i have some ideas like </p>
  
  <ol>
  <li>Convert image to Base64 Encoding, then send request to Salesforce APEX.</li>
  <li>Insert Image as BLOB into Database,then fetch that BLOB from DB, stores into byte array and finally push that into Salesforce.
  But i don't know best and efficient way to do this. If you have some ideas/possibilities kindly share it to me. 
  <strong>Note:</strong> For writing Salesforce related task, separate SF Team is here. what i need here is ways/possibilities to achieve this task. Java Class also possible.
  Awaiting for your response!!! </li>
  </ol>