Save template inside image.