GIMP color matching using curves