我有一个GIF图像文件:
我想使用以下Imagemagick命令提取其帧(使用PGM输出格式):
convert brocoli.gif out%05d.pgm
但每个帧的大小不同。
如何提取其帧并保留原始gif文件大小?
我有一个GIF图像文件:
我想使用以下Imagemagick命令提取其帧(使用PGM输出格式):
convert brocoli.gif out%05d.pgm
但每个帧的大小不同。
如何提取其帧并保留原始gif文件大小?
-coalesce
选项:
convert -coalesce brocoli.gif out%05d.pgm
-coalesce
在导出之前对每个帧进行层叠处理。 - orion elenzilgm convert Test.gif +adjoin Test_image%3d.png
或者
gm convert Test.gif -coalesce +adjoin Test_image%3d.png
.