title: How can an image converted to binary be converted back to an image?
body: <p>I have converted an image in binary but i am unable to convert it back to an image. The command imwrite is not working.
  Here are a few lines of code</p>
  
  <pre><code>info=imfinfo('map.jpg')
  I=imread('map.jpg');
  b=dec2bin(I);
  </code></pre>
  
  <p>Does anybody have a solution?
  Thanks!</p>