Fix compiling error of deprecated template.
Add: processing of alpha channel in color handlers
Update: since we can handle transparency, set alpha to 255 by default
Merge pull request #304 from yangyanli/fix_deprecated_vs2012

Fix compiling error of deprecated template.
Merge pull request #306 from nizar-sallem/alpha_color_handler

Add: processing of alpha channel in color handlers