title: how do I take the raw data from email of a photo and create or convert to a jpeg, bmp and such
body: <p>I have raw data from an email that contains a jpeg.
  I can see the jpeg portion, but how do I take that data and create the jpeg so I can see the photo?</p>
  
  <p>Raw data looks like this:</p>
  
  <pre><code>------=_NextPart_000_001F_01CF11D6.5A125C60
  Content-Type: image/jpeg;
      name="image001.jpg"
  Content-Transfer-Encoding: base64
  Content-ID: &lt;image001.jpg@01CF11D5.792185A0&gt;
  
  /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0a
  HBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIy
  MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAARACcDASIA
  AhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQA
  p6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEA
  d/8AK6/Emniby9yTe97Xb6Nd1pezfk7amvF4guSYB5Mdx527y/JDZfb94YPTHHXrmimaDolzDepe
  XkU0RhRkjWa6MzMWxkk9BgDAA9eaK5KrpRlaKv8A15HoYeNepDmlJr5f5q+501RXP/HpN/uN/Kii
  uaO52y+FnJeEP+Rbuf8Ar4P867EdBRRXVjf40vU4Ms/3eHov1FooorkPRP/Z
  
  ------=_NextPart_000_001F_01CF11D6.5A125C60--
  </code></pre>
  
  <p>this is not the complete data, but this is what I see.
  I need to take that data and turn it into a viewable photo.
  Does anyone know how? can this be done?</p>