javascript - Photoshop scripting. Opening & Saving overlapping image stacks -
i’ve been getting more , more star photography , have been trying develop new style of stacking photos , creating time-lapse videos stacked photos.
example: http://www.youtube.com/watch?v=ebe3vub-dte
this process took absolutely forever accomplish , i’ve been trying hardest write script me automate process. each frame stack of 25 images, next frame overlapping stack of images, offset 1 or 2 photos. can please assist me writing photoshop script accomplish following? after taking time-lapse photos, left single folder image sequence of anywhere between 50 & 1800 photos.
ideal setup:
1) open photoshop , run script “stacked timelapse”
2) dialog box prompts me source imagesequence folder. prompts me maximum length of stacked star trails (max number of images stack per frame).
ideally have text recommended settings.
for example:
“0-299 images = recommended length of 25”
“300-599 images = recommended length of 40”
“600+ images = recommended length of 60”
3) once click go, script begin importing photos stack, applying ‘.blendmode = blendmode.lighten;” layers, save new subfolder (we can call “stack”) filenames “0001.jpg, 0002.jpg, 0003.jpg, etc” (using max jpg quality settings)
to accomplish effect in video, have follow image quantity , offset. https://dl.dropboxusercontent.com/u/50801/starfilestructure.jpg
can give me pointers on how script , accomplish this?
thanks in advance!
as starting point, should @ source code load files stack, merge hdr pro or photomerge features. these partially implemented in extendscript, , script's source code provided part of photoshop release. think basic operation similar you're trying accomplish. load files stack simplest 1 start with.
the source code these files found in:
photoshop_app_folder/presets/scripts/ load files stack.jsx photomerge.jsx merge hdr.jsx stack scripts only/ createimagestack.jsx stacksupport.jsx
where photoshop_app_folder
c:\program files\adobe\adobe photoshop csn
on windows , /applications/adobe photoshop csn
on mac.
these features use library of code in sub-folder stack scripts only/
basic tasks of managing ui , loading photo files layered document.
this stuff not uncomplicated, looking @ these scripts gives working examples use starting point. also, if you're not familiar extendscript toolkit, start learning first. it's ide used develop scripts photoshop , other creative suite apps.
Comments
Post a Comment