Uncompressing a lossy image

i want to build a cnn that takes a jpg image and try to make the loss less than the original png image.
do u think i should use the super resolution.
if i do shoud i make changes in it or the model as it is can do it