JPG recovery