Avi Writer Error

Posted by ERIC on
URL: http://imagej.273.s1.nabble.com/Avi-Writer-Error-tp5006359.html

Hi All,
I have a small macro converting tif stack to avi files.
It works only when the in and out folders are in the directory C:
I suspect that avi writer does't like my directory : C:/User/Eric
Denarier and reads only C:/User/Eric (see enclosed picture)
It also has a problem with whitespaces in file names and other
Characters as in DOS.
It is not really convenient because I have to move my folders into C:
Do you know any alternative ?


Here is the macro

Ouvrerep=getDirectory("Choose folder In");
SauveRep=getDirectory("Choose folder Out");

liste=getFileList(Ouvrerep);

for (k=0;k<liste.length;k++){
       open(Ouvrerep+liste[k]);
       title = getTitle();
       run("AVI... ", "compression=JPEG frame=500
save="+SauveRep+title+".avi");
       close();
       }




--

Eric Denarier
Grenoble Institut des Neurosciences
Inserm U836
Chemin Fortuné Ferrini
38700 La Tronche
France


Tél :33 (0)4 56 52 05 38
Fax :33 (0)4 56 52 06 57

http://neurosciences.ujf-grenoble.fr/


--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html

AviWriterError.JPG (45K) Download Attachment