Add BGR support and premultiply alpha when converting formats.