add image io, change unpadding to crop, need test