add alpha support.
Merge pull request #1 from moremorefun/add_alpha

add alpha support.