Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top


enter image description here

This seems to be a problem with using JPEG. My questions are:

  1. How to remove the grey areas around the text? What filter/process in GIMP/ImageMagick or other free image editing/scripting mediums would you recommend?
  2. What would be a programmatic approach to cleaning an image like this? E.g. converting it to a bitmap and applying some filter or process using scripting, etc.
  3. What is the preferred web friendly file format to not end up with such dirty looking images?
share|improve this question
up vote 3 down vote accepted

All it really takes is a Levels, Curves, or Brightness adjustment. Almost any free or paid raster editing application has the capacity to raise the white point and lower the black point. This would, in turn, remove the grey, brighten the white, and darken the black.

Images don't customarily "end up" like that without some serious alteration somewhere such as saving a jpg as a jpg over and over again. (Don't do that with jpgs)

share|improve this answer
Or saving for web with a very very low quality. Really though because this is a text 'image' you'd be better served using a png. Jpegs are best for photographs. Or you could just type it instead of saving plain text as an image at all. – Ryan Mar 13 '13 at 15:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.