An image recording apparatus includes a first processing section that encodes an inputted medical image based on setting information and outputs a first encode result, a second processing section that encodes the inputted medical image based on the setting information and outputs a second encode result, a setting section that retains the setting information, and a control section that controls, based on the setting information corresponding to an operation signal, the first and second processing sections to output at least one of the first and second encode results and determines a recording destination of the first and second encode results based on the setting information corresponding to the operation signal.