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?".
higoka
Posts: 17 Joined: 2019-04-22T16:36:51-07:00
Authentication code: 1152
Post
by higoka » 2019-05-22T15:53:57-07:00
In my animation there is a "empty" frame after the animation restarts.
Is it possible to remove this?
Animation
Code
Code: Select all
magick -size 256x256 canvas:transparent -dispose background \
img/rare_dragonlamp_64_f_4_0.png -page +100+126 \
img/rare_dragonlamp_64_f_4_1.png -page +125+32 \
img/rare_dragonlamp_64_f_4_2.png -page +123+37 \
img/rare_dragonlamp_64_f_4_3.png -page +121+34 \
img/rare_dragonlamp_64_f_4_4.png -page +120+33 \
animation.gif
Images:
http://s000.tinyupload.com/?file_id=423 ... 6253843273
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Post
by fmw42 » 2019-05-22T16:07:47-07:00
Put the size 256x256 in the -page arguments
Code: Select all
magick -dispose previous \
img/rare_dragonlamp_64_f_4_1.png -page 256x256+125+32 \
img/rare_dragonlamp_64_f_4_2.png -page 256x256+123+37 \
img/rare_dragonlamp_64_f_4_3.png -page 256x256+121+34 \
img/rare_dragonlamp_64_f_4_4.png -page 256x256+120+33 \
animation.gif
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Post
by fmw42 » 2019-05-22T16:25:38-07:00
Not for me on IM 7.0.8.46 Q16 Mac OSX.
Code: Select all
identify animation.gif
animation2.gif[0] GIF 19x41 256x256+120+33 8-bit sRGB 8c 0.000u 0:00.000
animation2.gif[1] GIF 20x35 256x256+120+33 8-bit sRGB 8c 0.000u 0:00.002
animation2.gif[2] GIF 22x37 256x256+120+33 8-bit sRGB 8c 0.000u 0:00.002
animation2.gif[3] GIF 22x39 256x256+120+33 8-bit sRGB 8c 690B 0.010u 0:00.001
Did you copy my code exactly? What is your IM version and platform?
higoka
Posts: 17 Joined: 2019-04-22T16:36:51-07:00
Authentication code: 1152
Post
by higoka » 2019-05-22T16:30:32-07:00
Removed the f_4_0.png now it works.
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Post
by fmw42 » 2019-05-22T17:06:37-07:00
If you look carefully at my command, you will see that I had removed it. Glad you figured it out.