Why doesn't my Imagemagick convert consider the loop parameter? -
i'm using command:
convert -delay 10 -loop 1 -density 300 myfile.pdf myfile.gif
on windows 10 , works except loop parameter: if set 1
, infinite loop.
what doing wrong?
i did experiments varying -loop
parameter 0 through 3 , using simple red frame followed blue frame follows:
for in 0 1 2 3; echo i=$i ((d=80+i)) convert -delay $d -loop $i -size 256x256 xc:red xc:blue a.gif identify -verbose a.gif | grep -e "iter|delay" done
results
i=0 delay: 80x100 iterations: 0 delay: 80x100 iterations: 0 i=1 delay: 81x100 delay: 81x100 i=2 delay: 82x100 iterations: 2 delay: 82x100 iterations: 2 i=3 delay: 83x100 iterations: 3 delay: 83x100 iterations: 3
so, seems -delay
parameter , -loop
parameter are correctly set in gif file, although -loop
omitted if 1
default anyway.
i looked @ animated gif in osx using quicklook
feature tap ␣ (spacebar) in finder , not respect -loop
setting, however, if open gif in safari or firefox respect setting, guessing not standardised , whatever using view gif files not compliant poorly-followed standard.
i may wrong try using different viewer such firefox or chrome.
Comments
Post a Comment