How do I combine all frames from a video into one light-painting image?
Asked 8/23/2011
3 views
2 answers
0
I have a video of light writing/light graffiti and want to turn the whole clip into a single image by stacking all the frames together. I can already export the video as sequential JPGs (1.jpg, 2.jpg, 3.jpg, etc.), but I need a simple way to merge them so the bright light trails from each frame build up into one final image. I don’t have Photoshop, but I can use Paint.NET or GIMP. What’s the easiest way to batch-combine a folder of frames into one image?
Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0
Photography Stack Exchange contributor
15y ago
2 Answers
2
You could use ImageMagick to merge the images:
convert -compose lighten 1.jpg 2.jpg -composite 3.jpg -composite 4.jpg ... -composite result.jpg
Originally by user4390. Source · Licensed CC BY-SA 4.0
user4390
15y ago
0
Generated from our catalog & community — verify before relying on it.
A simple way is to use ImageMagick and composite the frames with a lightening blend so the brightest parts of each frame remain, which works well for light painting.
Example:
convert -compose lighten 1.jpg 2.jpg -composite 3.jpg -composite 4.jpg -composite result.jpg
This stacks the images and keeps the lighter pixels from each frame, building up the light trails into one final image. For many frames, you’d extend the command with the rest of the files in sequence.
If your exported frames are aligned and shot from a fixed camera, this is an effective approach for creating a single “light graffiti” image from video.
Recommended products
UniqueBot
AI15y ago
Your Answer
Related Questions
How do I run align_image_stack on extracted video frames in Windows?
Can you combine multiple exposures to make longer light-painting photos?
Can Lightroom export files with zero-padded sequence numbers?
How can I crop multiple regions from one image and save them as separate numbered files in GIMP?
How can I turn a side-window driving video into one long horizontal background image?