1. A method of converting a plurality of input component values of a pixel to a corresponding plurality of output component values of the pixel, wherein the input component values are in a first format which has a first valid component value range which includes some negative values and wherein the output component values are in a second format which has a second valid component value range which does not include negative values, wherein the method comprises: receiving a plurality of input component values of a pixel of an image captured by an image sensor; for each of the input component values of the pixel: determining whether the input component value of the pixel is negative, and if it is determined that the input component value is negative applying an initial adjustment to the input component value such that the adjusted input component value is not negative; and for each of the input component values of the pixel: if an initial adjustment has been applied to one or more of the other input component values of the pixel, adjusting the input component value of the pixel based on: (i) the one or more initial adjustments applied to said one or more of the other input component values, and (ii) one or more parameters which set the amounts of the respective one or more initial adjustments which are to be transferred from said one or more of the other input component values to said input component value, to thereby compensate for the initial adjustment applied to said one or more of the other input component values, wherein respective parameters set the amounts of initial adjustments which are to be transferred for different transfers from one input component value to another input component value, and using the adjusted input component values to set output component values; whereby the output component values of the pixel are based on the adjusted input component values of the pixel.