Skip to content

Instantly share code, notes, and snippets.

@pigeonhill
pigeonhill / Toggler.lua
Last active June 2, 2016 14:02
Magic Lantern Toggler Script
--[[
Still photography toggler script
Version 1.6 (should work on all ML enabled cameras with the Lua module)
Garry George June 2016
http://photography.grayheron.net/
Toggler script for ML settings.
Toggle through ML settings using the selected option, ie a button you rarely use.
Must be in LV.
--]]
@pigeonhill
pigeonhill / Auto Bracketing.lua
Last active June 5, 2016 21:58
Magic Lantern Bracketing Script
--[[
Auto Bracketing Script
Auto focus bracketing with exposure bracketing
Plus the script does both time and frame bracketing, ie for LE situations
Release 1.0
This version has some error detection, but the user must be aware of certain things:
* Check the correct DoF diffraction options are set in ML, eg diffraction aware is on for best data
* Must use a lens that reports focus distance and DoF can be calculated
* Lens must be in AF mode
* Must be in manual mode
@pigeonhill
pigeonhill / Toggler 2.lua
Last active June 12, 2016 16:00
ML Menu state toggler
--[[
Still photography toggler script
NOTE: Tested on a 5D3 and 50D
Version 2 (should work on all ML enabled cameras with the Lua module BUT maybe not the EOSM)
Garry George June 2016
http://photography.grayheron.net/
Toggles through ML settings using the multi-controller toggle, plus a button you rarely use.
Must be in LV.
--]]
@pigeonhill
pigeonhill / LE Simulation.lua
Last active December 19, 2016 00:42
LE simulation using FRSP via Timelapse
--[[
LE simulation via Bracketing, using shutterless, Full Res Silent Picture
Creates brackets for post processing a simulated LE exposure
User must set FRSP mode, ie DNG or MLV and also wheather to use Dual-ISO
Exposure Sim should be on
Should be in LV
MUST set Canon review to OFF
Base exposure should be between 0.25-14 secs
Version 0.8: Requires the Lua Fix
*******************************************************************************************************
function test4Q(key)
if key == KEY.INFO and menu.visible then
key.press(KEY.Q)
return false
else
return true
end
end
event.keypress = test4Q
--[[
Bulb ND Script V1
Release 0.1
Jan 2017
Simply takes an ND image using the currently set shutter value, but assumes an ND filter is fitted.
To use:
1. Compose and set shutter WITHOUT the ND filter fitted
2. Set ND values in menu and delay (in LV delay is automatically 3s)
3. Press SET to intiate script
--[[
This script simulates a super resolution stack for post processing...
by simulating sensor shifting by changing focus. Because of this, the script is 'limited' to taking...
sharp images between the HFD and infinity.
This script assumes you are on a tripod, ie not handholding as 'normal' in super resolution stacking (without a special sensor)
This version does NOT work with FRSP...at the moment :-)
Should be in LV
Canon review should be set to OFF
Usual caveat: script was written for my workflow and enjoyment, and 'only' tested on a 5D3
--[[
LE simulation via Bracketing, using shutterless, Full Res Silent Picture
Creates brackets for post processing a simulated LE exposure
User must set FRSP mode, ie DNG or MLV and also wheather to use Dual-ISO
BUT note that only DNG mode has been tested ;-)
Exposure Sim should be on
Should be in LV
It is best to have Canon review set to OFF
Base exposure should be between 0.25-14 secs
Version 0.8: Requires the Lua Fix
@pigeonhill
pigeonhill / Toggler LV.lua
Last active June 7, 2017 12:40
Toggler for cameras with limited buttons
--[[
Still photography toggler script.
This is a stripped down version of the full Toggler, recognising the the lack of buttons to toggle with some cameras.
It will run on other ML enabled cameras.
Toggles through preset ML settings using the PLAY button.
Make sure ML menus are preset to the your toggled states.
Version 1
Garry George August 2016
http://photography.grayheron.net/
--]]
@pigeonhill
pigeonhill / ALBS.lua
Created August 6, 2017 11:31
Auto Landscape Bracketing Script
--[[
Auto Bracketing Script
Auto focus bracketing with exposure bracketing
Plus the script does both time and frame bracketing, eg for ND/LE simulation
Release August 2017
This version has some error detection, but the user must be aware of certain things:
* Long FL lenses may fail and this script is best used with MEDIUM & WIDE angle lenses.
* Select FP2HFD option to estimate number of focus brackets to HFD. Add 1 bracket to this for FP2INF use case.
* The QHFD option takes a two bracket set, one either side of the HFD. One at HFD/2 and one at either 2xHFD or 3xHFD.
* Under settings you can select the 2x or 3x HFD: the default is 2xHFD.