File Exchange

image thumbnail

cmacminn/fig2frame

version 1.0 (133 KB) by

Convert a figure into a high-resolution video frame.

0 Downloads

Updated

Convert a figure into a high-resolution video frame, trying to preserve figure appearance as much as possible.
Why is this better than GETFRAME? GETFRAME performs a screen grab of the region of your screen where the figure is. This is problematic because:

1. You must actually draw and display the figure on-screen. This is slow.
2. GETFRAME does not check that the figure is the front-most object on your screen.
3. The frame cannot be larger than your screen.

fig2frame avoids these problems by generating a new, invisible figure and converting the figure data directly to an image instead of performing a screen grab.

Comments and Ratings (0)

MATLAB Release
MATLAB 8.4 (R2014b)

MATLAB Online Live Editor Challenge

Win cash prizes and have your live script featured on our website

Learn more

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video