Convert color components from the source color space to the
Color components typically vary between zero and one
representing the intensity of each component. So a high intensity
green in the RGB color space might be represented as [0.0 1.0
You need to ensure that the arrays you pass are the right size.
So for example a conversion from RGB to CMYK would need a from
array of size three and a to array of size four. If the arrays are
incorrectly sized then an exception will be thrown.