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

Is there software to detect omission of thin lines in a bitmapped image (jpg etc.) when it is reduced in size (e.g. chinese characters)?

For example if the physical dimensions of an image are reduced, at a given dpi, then some lines, particularly horizontal lines will be omitted.

Windows platform preferred, if not, Linux.

share|improve this question

Some graphics programs will distinguish between resizing and resampling. Both result in a new image with a specified smaller size but the latter uses an algorithm that produces a better clearer result. (For example, in IrfanView)

There is of course a limit to what can be achieved. For example there is obviously no way of showing five vertical strokes in less than seven pixels.

For monochrome text of any sort:

  • PNG will be better than JPEG.
  • Converting to vector form before resizing will give a better result than bitmap resizing.
  • Using OCR and then using fonts to re-render the text at a lower size will of course give the best possible result.
share|improve this answer
+1 (thanks) for the general advice. Some of which I was aware of but some gives food for thought. However, I can't accept this as an answer as I was looking for software generally to automatically detect issues rather than (manual) methods. Please accept the +1 as my appreciation of your time and input. Thank you again. – therobyouknow Nov 15 '11 at 11:43
up vote 0 down vote accepted

There doesn't appear to be a general solution to answer my original question.

However, there is an avenue to explore if working with SVG rasterized to bitmaps (for printing or display) to see if the bitmap faithfully reproduces all the original lines in the SVG.

I started this discussion here: ("Rasterizer detect subpixel width lines when rendering to specified dpi")

However, for me, this line of exploration is not suitable, as I am not working with SVG files (instead I have to use commercial software with a proprietary format).

share|improve this answer

You must log in to answer this question.

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