Page 1 of 1

Create a series of images with progressive blending between 2 images

Posted: 2017-01-29T05:43:39-07:00
by Daedalus
Hello to everyone, I have just discovered ImageMagick :)
I like the software and I will try to study it thoroughly, but now I need urgently (in 1-2 days) to do something and I would like to be helped by someone more experienced.

My problem is: I have two images (A and B), and I would like to obtain a series of images with a progressive blending of these 2 images, from 0 to 100%. For instance, I would like to obtain 001.jpg (99% A, 1% B), 002.jpg (98% A, 2% B), etc.

After I will use these 100 images to obtain a video with a progressive transition between the images. Note that even if there is a way to directly obtain the video, I still would like first to learn how to obtain the series of images.
I'm using Windows version of IM.

Anyone could help me?
Thank you!

EDIT: I've already tried the solutions described here:
https://ubuntuforums.org/showthread.php ... 996&page=1
and I've read a bit of IM help, but looks too complicate to understand it in a few days... I just managed to convert from png to jpg :P

Re: Create a series of images with progressive blending between 2 images

Posted: 2017-01-29T05:55:07-07:00
by Bonzo
I see you comment: " Note that even if there is a way to directly obtain the video, I still would like first to learn how to obtain the series of images."

You could check out http://www.imagemagick.org/script/comma ... .php#morph although there is not a lot of control

Re: Create a series of images with progressive blending between 2 images

Posted: 2017-01-29T06:30:13-07:00
by Daedalus
Thank you Bonzo, I've tried:

Code: Select all

convert A.jpg B.jpg -morph 100 image.jpg
and it works :D