title: How do I read JPEG and PNG pixels in C++ on Linux?
body: <p>I'm doing some image processing, and I'd like to individually read each pixel value in a JPEG and PNG images.</p>
  
  <p>In my deployment scenario, it would be awkward for me to use a 3rd party library (as I have restricted access on the target computer), but I'm assuming that there's no standard C or C++ library for reading JPEG/PNG...</p>
  
  <p>So, if you know of a way of <em>not</em> using a library then great, if not then answers are still welcome!</p>