1. A method, comprising: obtaining, at one or more computing devices, an input image; determining a first value of a quality metric for the input image; generating a first chroma subsampled representation of the input image; generating a reconstructed image based on the chroma subsampled representation; determining a second value of the quality metric for the reconstructed image; determining an error value based on the first value of the quality metric and the second value of the quality metric; and generating a second chroma subsampled representation of the input image based in part on the error value.