|
alpha colors
I figured out you could use the tri-alpha colors to produce multilpe colors while only using one image layer. It works similar to the way the colors work on the default templates and in-game jerseys. I can only get it to work, if I use true black to represent the transparent area.
This is the line of code being used for this image:
<ELEMENT type="image" x="0" y="0" zorder="5" trialpha_red="#FFFFFF" trialpha_green="[%TEAM_TEXT_COLOR]" trialpha_blue="[%TEAM_BG_COLOR]" content="1990_hoops_trim.png" />
I have just started to play with it but it does open up more possibilities. It is hard to see, but I like how the tape on the bat handles in the card number logo change with team colors.
These cards still have a lot of clean-up left but I have been stuck on why the player image on the back is showing transparent area in the photo. It looks as if the backround image for the player picture is askew. If I can figure out why or how, I may try a card with the background intentionally transparent.
|