TGAGenerationWithPhotoshop
From SWWorkshop
I decided to prepare this sample when i faced a question at oyungelistirici web site. In these question Astérix wants to develop Pacman Game but he can't clip pacman black color. Pacman image color overwrite background color.
Question: When should I use 32 bits targa ?
Answer:For this sample if you want to clip black color which wrap pacman, you must use alpha channel. And only 32 bit files holds alpha data.
Question: How can we prepare 32 bit TGA files ?
Answer:
- Open Photoshop.
- Create new work area. It's important to set working area transparent.
- Draw pacman in this area
- Save this picture 32 bit TGA without any compression

