title: How can I read and write JPEG data on a per-pixel basis?
body: <p>The title pretty much explains my question. I would like to be able to read and write JPEG data on a per-pixel basis using C#.</p>
  
  <p>I'm thinking something along the lines of <code>CreateJPEG(x, y)</code> which would set up a blank JPEG image in memory, and would give me a JPEG object, and then something like <code>SetPixel(x, y, Color)</code> and <code>GetPixel(x, y)</code> the latter of which would return a <code>Color</code> or something similar. You could then call an <code>Apply()</code> or <code>Save()</code> method, for example, to save the image in a standard JPEG-readable format (preferrably with compression options, but that's not necessary).</p>
  
  <p>And I'm assuming some C# library or namespace makes this all a very easy process, I'd just like to know the best way to go about it.</p>