[Solved] convert delay error

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
LockStock
Posts: 4
Joined: 2018-02-05T18:08:29-07:00
Authentication code: 1152

[Solved] convert delay error

Post by LockStock » 2018-03-01T21:06:16-07:00

Hi, I have been trying to edit the delay on frames within an animated gif. There are 276 frames in the gif. I've been using the following command:

Code: Select all

convert -delay 15x100 input.gif output.gif 
which has worked for me fine in the past however now I am getting the following error...

Code: Select all

convert: corrupt image `input.gif' @ error/gif.c/DecodeImage/505.
convert: corrupt image `input.gif' @ error/gif.c/ReadGIFImage/1365.
convert: no images defined `output.gif' @ error/convert.c/ConvertImageCommand/3275.
Any idea what might be going wrong? I am running MacOS 10.13.1 and using ImageMagick 7.0.7-24 Q16 x86_64.

Cheers,
Locks.
Last edited by LockStock on 2018-03-01T21:43:46-07:00, edited 1 time in total.

User avatar
fmw42
Posts: 24156
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: convert delay error

Post by fmw42 » 2018-03-01T21:20:24-07:00

With IM 7, the correct command is magick, not convert. Try

Code: Select all

magick -delay 15x100 input.gif output.gif
If that fails, post your input gif

LockStock
Posts: 4
Joined: 2018-02-05T18:08:29-07:00
Authentication code: 1152

Re: convert delay error

Post by LockStock » 2018-03-01T21:43:24-07:00

Thanks very much, I was not aware of the change. That has fixed the issue.

User avatar
fmw42
Posts: 24156
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: [Solved] convert delay error

Post by fmw42 » 2018-03-01T22:16:02-07:00

Here are the docs explaining the changes. http://imagemagick.org/script/porting.php#cli

Post Reply