[DF-671] Added assert to SaveImage