migrate color_transfer with XImage