From image .png to 'skeleton' structure