title: Rendering android frame buffer data to compressed image format
body: <p>Need help in converting raw image data to a well known compressed format like png or jpg.
  I am using the '/dev/graphics/fb0' to get the frame buffer for an android phone and I am saving the raw data to a local file say 'image.raw'.</p>
  
  <p>Now is there any good tool or code that can process the raw file and generate compressed images? </p>