Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

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
    
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 -- research.microsoft.com/en-us/um/people/kopf/pixelart -- then resize to lower resolution again, now keeping the original anti-alias information. –  Philipp Lenssen May 29 '12 at 22:12
add comment

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.

Browse other questions tagged or ask your own question.