parsing picture and slices
add slice layer TODO