support RGB format