Animation issue
Posted: 2010-02-26T17:00:29-07:00
I have two huge PNG files (i.e. screenshots). They are close to each-other but different. I want to create an animation where the same part of this file changing forward and back showing the difference.
I've cut the same pieces from both images:
convert screen1.png -crop 172x87+694+538 screen1_part.png
convert screen2.png -crop 172x87+694+538 screen2_part.png
Now I want to create an animation with these two images:
convert -background black -delay 50 +dither screen1_part.png screen2_part.png anim_diff.gif
The problem is that images I've got has the same resolution as original screens had. I can't get why.
OK, it is even nice (but unexpected), it shows where these parts were taken from. But the color of the border differs between frames and distracts user. I believe this is just first color from color map. Is there any option to make it same color? Or at least get rid of this border.
I alos tried to annotate the image but it does not work
convert screen1_part.png -stroke none-fill white -annotate +20+20 "Note" screen1_part_anno.png
BTW: I hope these days image magick uses common color map for both frames. So there is not need to append images to each other and generated 256 unique colors as a map.
I've cut the same pieces from both images:
convert screen1.png -crop 172x87+694+538 screen1_part.png
convert screen2.png -crop 172x87+694+538 screen2_part.png
Now I want to create an animation with these two images:
convert -background black -delay 50 +dither screen1_part.png screen2_part.png anim_diff.gif
The problem is that images I've got has the same resolution as original screens had. I can't get why.
OK, it is even nice (but unexpected), it shows where these parts were taken from. But the color of the border differs between frames and distracts user. I believe this is just first color from color map. Is there any option to make it same color? Or at least get rid of this border.
I alos tried to annotate the image but it does not work
convert screen1_part.png -stroke none-fill white -annotate +20+20 "Note" screen1_part_anno.png
BTW: I hope these days image magick uses common color map for both frames. So there is not need to append images to each other and generated 256 unique colors as a map.