title: Hex to Binary convert
body: <p>I have converted my jpeg file as HEX code through hex converter.</p>
  
  <p>Now how to convert that hex to binary and save as <code>Jpeg</code> file on disk. </p>
  
  <p>Like:</p>
  
  <p>var declared as Hex code and then convert that var hex code to binary and save on disk ? </p>
  
  <p><strong>Edit:</strong></p>
  
  <pre><code>Var 
    myfileHex := 'FAA4F4AAA444444'; // long as HEX code of my JPEG 
  
  function HexToBin(myfileHex): string;
  begin    
    // Convert Hex to bin and save file as...
  end; 
  </code></pre>