Updated transform to account for 3 bytes per RGB