Movie to GIF Converter

版本 1.5.0.0 (3.0 KB) 作者: Nicolae Cindea
Convert a matlab movie to a GIF
8.8K 次下载
更新时间 2013/4/22

查看许可证

Movie2Gif

Matlab movie to GIF Converter.

Syntax: movie2gif(mov, gifFile, prop, value, ...)

The list of properties is the same like for the command 'imwrite' for the
file format gif:

'BackgroundColor' - A scalar integer. This value specifies which index in
the colormap should be treated as the transparent
color for the image and is used for certain disposal
methods in animated GIFs. If X is uint8 or logical,
then indexing starts at 0. If X is double, then
indexing starts at 1.

'Comment' - A string or cell array of strings containing a comment to be
added to the image. For a cell array of strings, a carriage
return is added after each row.

'DelayTime' - A scalar value between 0 and 655 inclusive, that specifies
the delay in seconds before displaying the next image.

'DisposalMethod' - One of the following strings, which sets the disposal
method of an animated GIF: 'leaveInPlace',
'restoreBG', 'restorePrevious', or 'doNotSpecify'.

'LoopCount' - A finite integer between 0 and 65535 or the value Inf (the
default) which specifies the number of times to repeat the
animation. By default, the animation loops continuously.
For a value of 0, the animation will be played once. For a
value of 1, the animation will be played twice, etc.

'TransparentColor' - A scalar integer. This value specifies which index
in the colormap should be treated as the transparent
color for the image. If X is uint8 or logical, then
indexing starts at 0. If X is double, then indexing
starts at 1

引用格式

Nicolae Cindea (2024). Movie to GIF Converter (https://www.mathworks.com/matlabcentral/fileexchange/17463-movie-to-gif-converter), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2009a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Movie 的更多信息
致谢

启发作品: gif, gif_add_frame

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.5.0.0

Some small bug fixes and ameliorations.

1.3.0.0

This new version fixed some small bugs.

1.0.0.0