Skip to content

Instantly share code, notes, and snippets.

@mutterer
Created March 17, 2014 10:33
Show Gist options
  • Save mutterer/9597107 to your computer and use it in GitHub Desktop.
Save mutterer/9597107 to your computer and use it in GitHub Desktop.
creates a stack, duplicating the source image
// creates a stack, duplicating the source image
// after an idea by Mathieu Fallet
x=getNumber("no of Slices", 10);
run("Select All");
run("Copy");
for(i=1;i<x;i++){
run("Add Slice");
run("Paste");
}
run("Select None");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment