Embed Text and Graphics in an Image

Burn or embed text and graphics in an image.

Download
Download

You are now following this Submission

Cite As

Brett Shoelson (2026). Embed Text and Graphics in an Image (https://se.mathworks.com/matlabcentral/fileexchange/38721-embed-text-and-graphics-in-an-image), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: createButtonLabel(string,varargin)

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
3.0.5

Now allows specification of resolution as an input parameter. (Default remains unchanged: resolution = get(groot,'ScreenPixelsPerInch'); ). Higher resolution = better graphics. Also, Does NOT require Image Processing Toolbox.

Download
3.0.1

I set the figure's 'invertHardcopy' property to 'off' to avoid unwanted changes of color.

Download
3.0.0

Updated license

Download
3.0.0-0

The new version works in R2016a+. (In older versions, images may be resized and require cropping.) It now takes cell arrays of function handles (and PV pairs), and no longer necessitates the visualization of a temporary figure for screen capture!

Download
1.0.0

Download