title: Reshaping a 1D bytes object into a 3D numpy array
body: <p>I'm using FFmpeg to decode a video, and am piping the RGB24 raw data into python.</p>
  
  <p>So the format of the binary data is:</p>
  
  <pre><code>RGBRGBRGBRGB...
  </code></pre>
  
  <p>I need to convert this into a <code>(640, 360, 3)</code> numpy array, and was wondering if I could use <code>reshape</code> for this and, especially, how.</p>