make tilable textures from the images of tile