Game Development Stack Exchange is a question and answer site for professional and independent game developers. 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 have seen that most games uses sprites that have a transparent contour, that is, the pixels that belongs to the contour of the object in the WxW sprite image is below 255. It is not perfectly opaque, so that when you render it on screen, you avoid aliasing effects.

Is there a tool that automatically loads N .png sprites and process them in order to make their contours semi-transparent?

share|improve this question

closed as off-topic by Josh Petrie Dec 4 '13 at 4:16

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions that are about "which tech to use" are outside the scope of the site. For more information, see this meta post" – Josh Petrie
If this question can be reworded to fit the rules in the help center, please edit the question.

Anti-aliasing of a line is typically done when exporting the original format, because only then will the program know what angle the line was meant to be (crucial for determining the different opacities). Doing this later is non-trivial, as just semi-transparenting the line would not fully get rid of the aliasing effects (and may destroy a wanted strong outline). One way to get back to smoother outlines might be to depixelize first -- -- then resize to lower resolution again, now keeping the original anti-alias information. – Philipp Lenssen May 29 '12 at 22:12