img = imread ('cameraman.tif'); RGB = insertText (Im, [20,20], 'text'); imwrite (RGB, 'im_txt.png');