From 17420d4936a5959a28b2c0150755a749a6cb25c0 Mon Sep 17 00:00:00 2001 From: Asocia Date: Sun, 22 Aug 2021 18:04:00 +0300 Subject: [PATCH] TIL: Generating transition between images --- .../generating-transition-between-images.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 command-line-utils/generating-transition-between-images.md diff --git a/command-line-utils/generating-transition-between-images.md b/command-line-utils/generating-transition-between-images.md new file mode 100644 index 0000000..c523d54 --- /dev/null +++ b/command-line-utils/generating-transition-between-images.md @@ -0,0 +1,8 @@ +I have lots of images of a scene from sunrise to sunset and my wallpaper is automaticatilly set to one of them based on the hour of the day. But you know what? I LOVE customizing my machine and I WANT MORE! I want the transition to be smooth af. To make this possible I need to generate images. And here is the result of literally 5 minutes of google search: + +``` +convert A.jpg B.jpg -morph 10 out.jpg +``` + +This will generate 10 images between A and B. Mind blown! Of course you can generate gifs. Just set the output format to `.gif`! In case you need more examples, see [here](https://legacy.imagemagick.org/Usage/anim_mods/#morph) and [here](http://www.imagemagick.org/script/command-line-options.php#morph). +