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?".
LockStock
Posts: 8 Joined: 2018-02-05T18:08:29-07:00
Authentication code: 1152
Contact:
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.
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Contact:
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: 8 Joined: 2018-02-05T18:08:29-07:00
Authentication code: 1152
Contact:
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.
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Contact:
Post
by fmw42 » 2018-03-01T22:16:02-07:00
Users browsing this forum: Ahrefs [Bot] , Amazon [Bot] , Bing [Bot] and 45 guests