An electronic device using an artificial intelligence (Al), the electronic device comprising: a memory storing one or more instructions; and characterized by: a processor configured to execute the stored one or more instructions, to: receive image data generated through an encoding on a first image, and Al data that is related to AI down-scaling an original image to the first image through a down-scaling deep neural network that operates according to first DNN setting information, the first DNN setting information being selected from a plurality of first DNN setting information; decode the image data to obtain a second image; determine whether to perform Al up-scaling of the obtained second image; based on the Al up-scaling of the obtained second image being determined to be performed according to the first image being verified to be obtained by performing the Al down-scaling of the original image: select, based on the Al data, second DNN setting information that corresponds to the selected first DNN setting information, from a plurality of second DNN setting information; obtain a third image by performing the Al up-scaling of the obtained second image through an up-scaling DNN that operates according to the selected second DNN setting information; provide, on a display, the obtained third image; and based on the Al up-scaling of the obtained second image being determined to be not performed according to the first image being verified to be not obtained by performing the Al down-scaling, output the obtained second image. a memory storing one or more instructions; and characterized by: a processor configured to execute the stored one or more instructions, to: receive image data generated through an encoding on a first image, and Al data that is related to AI down-scaling an original image to the first image through a down-scaling deep neural network that operates according to first DNN setting information, the first DNN setting information being selected from a plurality of first DNN setting information; decode the image data to obtain a second image; determine whether to perform Al up-scaling of the obtained second image; based on the Al up-scaling of the obtained second image being determined to be performed according to the first image being verified to be obtained by performing the Al down-scaling of the original image: select, based on the Al data, second DNN setting information that corresponds to the selected first DNN setting information, from a plurality of second DNN setting information; obtain a third image by performing the Al up-scaling of the obtained second image through an up-scaling DNN that operates according to the selected second DNN setting information; provide, on a display, the obtained third image; and based on the Al up-scaling of the obtained second image being determined to be not performed according to the first image being verified to be not obtained by performing the Al down-scaling, output the obtained second image. receive image data generated through an encoding on a first image, and Al data that is related to AI down-scaling an original image to the first image through a down-scaling deep neural network that operates according to first DNN setting information, the first DNN setting information being selected from a plurality of first DNN setting information; decode the image data to obtain a second image; determine whether to perform Al up-scaling of the obtained second image; based on the Al up-scaling of the obtained second image being determined to be performed according to the first image being verified to be obtained by performing the Al down-scaling of the original image: select, based on the Al data, second DNN setting information that corresponds to the selected first DNN setting information, from a plurality of second DNN setting information; obtain a third image by performing the Al up-scaling of the obtained second image through an up-scaling DNN that operates according to the selected second DNN setting information; provide, on a display, the obtained third image; and select, based on the Al data, second DNN setting information that corresponds to the selected first DNN setting information, from a plurality of second DNN setting information; obtain a third image by performing the Al up-scaling of the obtained second image through an up-scaling DNN that operates according to the selected second DNN setting information; provide, on a display, the obtained third image; and based on the Al up-scaling of the obtained second image being determined to be not performed according to the first image being verified to be not obtained by performing the Al down-scaling, output the obtained second image.