Added RGBa support - thanks to istib