title: Viewing source code of a jpg or bmp image
body: <p>I'm trying to find a way to get out the rgb values from every pixel in an image. If I had a 3x3 image, what i'm trying to get as an output is something like this:</p>
  
  <pre><code>{
     "0-0": [125,222,0],
     "0-1": [125,222,0],
     "0-2": [125,222,0],
     "1-0": [125,222,0],
     "1-1": [125,222,0],
     "1-2": [125,222,0],
     "2-0": [125,222,0],
     "2-1": [125,222,0],
     "2-2": [125,222,0]
  }
  </code></pre>
  
  <p>I know this a kinda vague question that will propbly be flagged but imma throw it there.</p>
  
  <p>Thanks and cheers</p>