add RGBA support, fixes #1