updated img2raw