use RGBA8 as default pixel format
Merge pull request #6748 from minggo/template-fix

use RGBA8 as default pixel format