I exported some sprites from the game Half-Life; however, they seem to have tones of black instead of the alpha channel. For example:


How do I convert the black colors into alpha/transparency?

1 Answer 1


Assuming you are using Windows, I recommend the freeware Irfanview.

When you Save as PNG, select the options Save Transparent Color and Save Transparency as Alpha channel. As you are saving a dropper will allow you to click on an area with the color you want to define as Alpha (in this case Black)

You must log in to answer this question.

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