title: Create set of random JPGs
body: <p>Here's the scenario, I want to create a set of random, small jpg's - anywhere between 50 bytes and 8k in size - the actual visual content of the jpeg is irrelevant as long as they're valid. I need to generate a thousand or so, and they all have to be unique - even if they're only different by a single pixel. Can I just write a jpeg header/footer and some random bytes in there? I'm not able to use existing photos or sets of photos from the web. </p>
  
  <p>The second issue is that the set of images has to be different for each run of the program.</p>
  
  <p>I'd prefer to do this in python, as the wrapping scripts are in Python.</p>
  
  <p>I've looked for python code to generate jpg's from scratch, and didn't find anything, so pointers to libraries are just as good.</p>