I need to convert a large number (~10k) of .xpm files generated by my code to a .gif file.
I used ImageMagick as instructed here: How to convert a PNG strip to a GIF?
But my filenames are like plot*.xpm, * from 0 to 10000 and the convert command doesn't seem to understand it right and makes a .gif file with only a few frames.
they end somewhere with a non-random distribution of blue and green dots. (Like a circle of blue in the middle) in say 1000th frame. (I can't include it's picture because of posting limits)
But this is the .gif file I get
I use this line of code:
convert -loop 0 -delay 10 -page +0+0 /*.xpm output.gif
I think I should use another method to introduce .xpm files to ImageMagick.
What should I do?