% printgif(varargin) prints gif files in matlab
% printgif accepts all print arguments in varargin.
% printgif ignores all printer drivers passed to it
% ('-deps', '-dtiff', etc.)
% instead it used the -djpeg100' driver and converts
% the resulting jpg file to a gif using
% imread/rgb2ind/imwrite
%
% EXAMPLE:
% printgif(gcf,'foo')
% prints the file foo.gif
Cite As
Ben Barrowes (2026). print a gif in matlab (https://se.mathworks.com/matlabcentral/fileexchange/27829-print-a-gif-in-matlab), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2009b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > Images > Convert Image Type >
Find more on Convert Image Type in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
