Convert Still Photos to a GIF or Video

smallWalk

Really just a technical note for myself. I thought I had written this down somewhere here, but I couldn’t find it, so, here it is.

Converting png to a video in Linux:

ffmpeg -framerate 24 -pattern_type glob -i ‘*.png’ -c:v libx264 -r 30 -pix_fmt yuv420p out.mp4

Setting the framerate sets the speed of the video. You can replace png with jpeg or jpg if needed. This does, of course, require the ffmpeg utility/package.

And, converting png to a GIF in Linux:

convert -delay 10 -loop 0 *.png myimage10.gif

The delay sets the milliseconds of delay between frame, so lower makes a faster video, higher makes a slower video. 8 to 10 seems about right for something that should look “real time”. This requires the imagemagick package.

Linux – keep it simple.

Free icons: six sided dice!

I needed some dice for games that I am making. It was difficult to find free to use for anything dice icons online, so I ended up creating my own. I used Gimp to make the set. Nothing fancy, but may be useful for you. I just used a gradient fill and then put black dots on the squares for each side of the die.

I applied the Apache-2.0 license to these, so feel free to use or abuse them to the maximum extent possible!

http://www.mediafire.com/file/qni04n6cywtk0ed/aklu-dice.tar

Linux – keep it simple.