Data of picture is stored in struct "img"