fig2img

Saves the current figure with user specified resolution as an image file or pdf file.

Download
Download

You are now following this Submission

Cite As

John Ramshur (2026). fig2img (https://nl.mathworks.com/matlabcentral/fileexchange/26898-fig2img), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: fig2img

Categories

Find more on Printing and Saving in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

Updated comments.

Download
1.4.0

1. Fixed error found in how the function extracts the user selected image compressing setting.
2. Added more comments.
3. Added option to save as PDF.

Download
1.1.0

I previously uploaded the .asm file and not the .m file. I also changed the usage details some. No changes were made to the code.

Download
1.0.0

Download