title: Picture (JPEG, PNG) from raw byte array in Linux/OpenCV
body: <p>I have a byte array of 80*60 bytes that represent a picture with resolution 80x60 (1 byte per pixel). How do I convert it into picture that could be then used in OpenCV?</p>
  
  <p>I work in Linux with C++</p>