//This macro requires the SlideBook plugin for the BioFormats macro extensions, which is found through the ImageJ/Help/Update... menu //select Langauage as IJ1 Macro to run //Defining directories for saving and analysis dir = getDirectory("Select a directory containing one or several .sld files"); files = getFileList(dir); saveDir = dir + "/Extracted Tifs/"; File.makeDirectory(saveDir); //Batch process .tif extraction setBatchMode(true); k=0; n=0; run("Bio-Formats Macro Extensions"); for(f=0; f