Refactor RGBA writer
Refactor RGBA complete