从gif图像中提取帧。
gif-frames的Python项目详细描述
gif帧
从gif图像中提取帧。
安装
pip install gif-frames
已安装的命令
- GIF框架
用法
E:\gif-frames>gif-frames --help
Usage: gif-frames [OPTIONS] IMAGE [OUT]
Extract frames from gif image.
IMAGE: The file path of the gif image
OUT: The folder where extraced frames to save
Options:
--help Show this message and exit.
示例
E:\gif-frames>cd
E:\gif-frames
E:\gif-frames>gif-frames test.gif
n_frames = 53
从e:\gif frames\test.gif中提取帧,并将帧保存到文件夹e:\gif frames\test中。