An electronic apparatus, comprising: a connecting means configured to connect with an external apparatus supporting a standard dynamic range, SDR, connection mode and a high dynamic range, HDR, connection mode; and a setting means configured to set a connection mode with the external apparatus to the SDR connection mode or the HDR connection mode, wherein in the SDR connection mode an image having a gradation resolution which is not higher than a first gradation resolution is outputted, and in the HDR connection mode an image having a gradation resolution which is higher than the first gradation resolution is outputted; a converting means configured to convert a JPEG image having the first gradation resolution into a pseudo-HDR image generated by converting the first gradation resolution to a second gradation resolution which is higher than the first gradation resolution and converting a gradation characteristic of the JPEG image into a predetermined gradation characteristic; and a control means configured to control so that in a case where the connection is in the SDR connection mode and an image to be reproduced is a JPEG image, the JPEG image is outputted from the connecting means without converting the JPEG image by the converting means, and in a case where the connection is in the HDR connection mode and an image to be reproduced is a RAW image, a JPEG image recorded in association with the RAW image in the electronic apparatus is converted by the converting means into the pseudo-HDR image and outputted from the connection means, and an HDR image having the second gradation resolution and the predetermined gradation characteristic is generated from the RAW image and is then outputted from the connecting means instead of the pseudo-HDR image, and in a case where an image switching operation to an image to be reproduced, which is a JPEG image which is recorded in the electronic apparatus but is not recorded in association with a RAW image, is performed while connection is in the HDR connection mode, the HDR connection mode is maintained without changing to the SDR connection mode, the JPEG image is converted by the converting means, and the pseudo-HDR image converted by the converting means is outputted from the connecting means, and in a case where the connection is in the HDR connection mode and an instruction to switch a first screen including the HDR image to a menu screen is received (S621 "Yes"), the set connection mode is switched from the HDR connection mode to the SDR connection mode, and the menu screen is outputted from the connecting means (S625, S701). a connecting means configured to connect with an external apparatus supporting a standard dynamic range, SDR, connection mode and a high dynamic range, HDR, connection mode; and a setting means configured to set a connection mode with the external apparatus to the SDR connection mode or the HDR connection mode, wherein in the SDR connection mode an image having a gradation resolution which is not higher than a first gradation resolution is outputted, and in the HDR connection mode an image having a gradation resolution which is higher than the first gradation resolution is outputted; a converting means configured to convert a JPEG image having the first gradation resolution into a pseudo-HDR image generated by converting the first gradation resolution to a second gradation resolution which is higher than the first gradation resolution and converting a gradation characteristic of the JPEG image into a predetermined gradation characteristic; and a control means configured to control so that in a case where the connection is in the SDR connection mode and an image to be reproduced is a JPEG image, the JPEG image is outputted from the connecting means without converting the JPEG image by the converting means, and in a case where the connection is in the HDR connection mode and an image to be reproduced is a RAW image, a JPEG image recorded in association with the RAW image in the electronic apparatus is converted by the converting means into the pseudo-HDR image and outputted from the connection means, and an HDR image having the second gradation resolution and the predetermined gradation characteristic is generated from the RAW image and is then outputted from the connecting means instead of the pseudo-HDR image, and in a case where an image switching operation to an image to be reproduced, which is a JPEG image which is recorded in the electronic apparatus but is not recorded in association with a RAW image, is performed while connection is in the HDR connection mode, the HDR connection mode is maintained without changing to the SDR connection mode, the JPEG image is converted by the converting means, and the pseudo-HDR image converted by the converting means is outputted from the connecting means, and in a case where the connection is in the HDR connection mode and an instruction to switch a first screen including the HDR image to a menu screen is received (S621 "Yes"), the set connection mode is switched from the HDR connection mode to the SDR connection mode, and the menu screen is outputted from the connecting means (S625, S701).