Example :

This seems to be a problem with using Jpep, my questions are
- How to remove the grey areas around the text? ( what filter/process in gimp/imagemagic other free image editing/scripting mediums would you recommend?
- What would be a programmatic approach cleaning an image like this would be? e.g. turning it to bitmap and applying some filter or process using scripting etc.
- What is the preferred web friendly file format to not end up with such dirty looking images?
