Update the exception handling of RGB data conversion. JN