interpret 4 channels as RGBA by default, fixes #158.