Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

I've a lot of .PNG images that contain text. Is there a software/algorithm to improve the text's quality?

For example:


As you can see in the pic, OCR is not an option, since this isnt English and the platform I'm going to use these images on doesn't perfectly support this language.

share|improve this question
Could you show us an example? – Oliver Salzburg Aug 7 '12 at 9:47
Is this text only, or text with an image? EG, words over a picture. – Dave Aug 7 '12 at 9:48
Post updated with an example (I can also remove the surrounding and keep the text only) – TTem Aug 7 '12 at 11:23

Software like Tesseract (open source) and Adobe Acrobat (proprietary) contain OCR tools that are preconfigured to extract text from a picture. You could look into using these. If you want to figure out and design algorithms to increase the text's readability, then you could go through some literature on image processing and write code to perform the transform functions on the given image.

share|improve this answer


You can use OCR software to convert images of text into true text - this will allow you to render the text at any level of quality you desire. OCR software is often included with image scanners and graphics suites.

Arabic OCR software is available. Even if the target platform doesn't support Arabic, you can OCR on a platform that does and then rasterise the text to a higher quality image for deployment.


If you want to apply transformations such as sharpening or edge detection you can use tools such as ImageMagick

share|improve this answer

Have you tried using something like Photoshop - it is designed for things like this. And, it allows you to batch process so it is ideal if you have multiple files.

Even Photoshop elements allows you to batch but it's limited compared to the full version (but easier on the wallet). Here is an example of batching with Elements.

You can get a free trial of Photoshop Elements.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .