image thumbnail

cmacminn/fig2frame

version 1.0.0.0 (4.65 KB) by Chris MacMinn
Convert a figure into a high-resolution video frame.

447 Downloads

Updated 17 Aug 2015

From GitHub

View license on GitHub

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.

Cite As

Chris MacMinn (2021). cmacminn/fig2frame (https://github.com/cmacminn/fig2frame), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.