Skip to content
Use RMagick to blend a folder of images together, such as timelapse photos of fireworks
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
Readme.txt
blenderrr.rb
source

Readme.txt

Use RMagick to composite / blend a folder of images together. Defaults to the Lighten operation which is useful for pics of fireworks

http://pehrhovey.net/blog/2013/07/timelapse-image-compositing-with-ruby/

brew install ImageMagick
gem install rmagick

defaults to files in ./source and put composite image in ./result

Current options

Usage: ruby blenderrr.rb [options]

    -i, --index FILE                 start at INDEX index
    -s, --start FILE                 start at FILE file name
    -f, --folder FOLDER              source files are in FOLDER name
    -o, --out FOLDER                 composite file in FOLDER name
    -n, --limit NUM                  limit to the first NUM files
    -m, --skip NUM                   Only process every NUM files (skip the rest)
    -x, --fx EFFECT                  composite EFFECT lighten, darken, multiply
    -a, --accumulate                 save each composite frame in-progress as a numbered.jpg
    -G, --gif_accumulate             make a gif of each compisted frame (accumulate)
    -g, --gif                        make a gif of each frame
    -p, --progress N                 Update a progress.jpg image every N frames. None if 0

    -h, --help                       Show this help message.
You can’t perform that action at this time.