(262/300)

While looking back at the blog post on how to create a via (<bf5.eu/post/how-to-make-a-gif->) in regards to make animations for , I noticed that there are a couple of things that irk me that I have ignored previously.

These things include animation quality and process time.

(263/300)

The guide still has its place when dealing with images that are minorly misaligned. This is because on will need to adjust the images in such a manner that they overlap on top of each other.

This practice can be extended to the point that once a set of standardized images exist, then the ones that are misaligned can be filled and cropped to align with the standard.

Follow

(264/300)

If one continues to use for sorting the images for the animation, then the [export-layers-plus tool](gimp-forum.net/attachment.php?) can ease the process of exporting all layers at once.

The user script can be saved in the _script-fu_ directory. The directory can be found by visiting `Edit > Preferences > Folders > Scripts`.

It is recommended to pad the layer number with zeroes. The suggested one is `%6i`, which will pad the number with zeroes until the number has a length of 6.

Script from the [Gimp forum](gimp-forum.net/Thread-exportin)

(265/300)

Now with the layers as frames one can use to merge them together to create a desired animation file.

```
ffmpeg -r 1 -i %06d.png -c:v libx264 out.mp4
```

This will create a MP4 with 1 frame per second. It is important the import naming `-i %06d.png` aligns with the export of layers modal.

To have a smooth looping experience, make sure to set the starting and ending frame be the same image. Just copy and past the start image and rename it so that it becomes the ending image.

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.