For command file you don’t need to add -noquit.
On Jan 27, 2021, at 10:28 AM, Peled, Noam <NPELED@mgh.harvard.edumailto:NPELED@mgh.harvard.edu> wrote:
That’s great! Thanks Ruopeng! Should I also add the -noquit flag in each line:
freeview foo.mgz -viewport x -ss pic1.jpg -noquit -viewport y -ss pic2.jpg -noquit -viewport z -ss pic3.jpg -noquit
Thanks! Noam
From: freesurfer-bounces@nmr.mgh.harvard.edumailto:freesurfer-bounces@nmr.mgh.harvard.edu <freesurfer-bounces@nmr.mgh.harvard.edumailto:freesurfer-bounces@nmr.mgh.harvard.edu> On Behalf Of Wang, Ruopeng Sent: Tuesday, January 26, 2021 4:59 PM To: Freesurfer support list <freesurfer@nmr.mgh.harvard.edumailto:freesurfer@nmr.mgh.harvard.edu> Subject: Re: [Freesurfer] Saving more than one figure using freeview
Hi Noam,
You can’t save multiple figures with one -ss flag. If you want to save multiple screenshots without having to load the volume every time, you can write a series of command lines in a text file like this:
freeview foo.mgz -viewport x -ss pic1.jpg -viewport y -ss pic2.jpg -viewport z -ss pic3.jpg
Then run: freeview -cmd foo.txt
Ruopeng
On Jan 26, 2021, at 1:18 PM, Peled, Noam <NPELED@mgh.harvard.edumailto:NPELED@mgh.harvard.edu> wrote:
Hello all, Can I use the -ss flag in freeview to save more than one figure? Currently, I’m calling freeiew 3 times, each time with a different viewport (sagittal, coronal, and axial)
Thanks, Noam
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edumailto:Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edumailto:Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer