used exception delegation, original image storing working (JPG)