Code: Select all
convert -crop 32x32+352+800 +repage -dispose 3 -delay 10 "png.png" -crop 32x32+384+800 +repage -dispose 3 -delay 10 "png.png" -page 0x0 -dispose 3 -delay 100 -size 32x32 xc:Transparent -crop 32x32+288+800 +repage -dispose 3 -delay 10 "png.png" -crop 32x32+320+800 +repage -dispose 3 -delay 10 "png.png" -loop 0 +dither -layers optimize "out.gif"
convert
-crop 32x32+352+800 +repage -dispose 3 -delay 10 "png.png"
-crop 32x32+384+800 +repage -dispose 3 -delay 10 "png.png"
-page 0x0 -dispose 3 -delay 100 -size 32x32 xc:Transparent
-crop 32x32+288+800 +repage -dispose 3 -delay 10 "png.png"
-crop 32x32+320+800 +repage -dispose 3 -delay 10 "png.png"
-loop 0 +dither -layers optimize "out.gif"
the error: convert.exe: geometry does not contain image `png.png' @ warning/transform.c/CropImage/574.
It generates a 1x1 pixels empty gif
The coordinates are correct I already checked them manually, I understand it has something to do with crop and repage but don't understand what after around 2 hours of testing and reading manuals and examples.
Hope someone can help me, thanks.