Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Save file' command leads to very large finder window #20

Open
birkenstonks opened this issue Feb 11, 2022 · 4 comments
Open

'Save file' command leads to very large finder window #20

birkenstonks opened this issue Feb 11, 2022 · 4 comments

Comments

@birkenstonks
Copy link

I'm going through a large sample of MRI images, and each time I try to save a file, a huge window opens that stretches far past my screen. I think it's growing, because if I try to move the window with my mouse to rename the file, it now takes over 10 "swipes" to scroll over to the middle of the pop-up window. It used to take 2-3. I've tried using keyboard commands and the GUI to save the MRI images, but that doesn't make a difference. I've also tried saving as a bitmap and saving as a NifTI image, but that doesn't make a difference either.

Screen Shot 2022-02-11 at 1 05 09 PM

@neurolabusc
Copy link
Owner

neurolabusc commented Feb 11, 2022

Well known feature added by Apple. This will be fully resolved with the next release. You can temporarily fix this running the following command:

defaults delete com.mricro.MRIcron NSNavPanelExpandedSizeForOpenMode
defaults delete com.mricro.MRIcron NSNavPanelExpandedSizeForSaveMode

You may also want to try MRIcroGL which is still under active development. I have a heavy teaching, administration, service and research load, so I have little time for maintaining my popular and robust legacy tools.

@birkenstonks
Copy link
Author

birkenstonks commented Feb 11, 2022 via email

@neurolabusc
Copy link
Owner

If you have a lot of images, you can use MRIcroGL's python scripting to automate repetitive tasks. The Scripting/Templates menu lists a lot of sample scripts. You can use gl.savebmp('MyFilename.png') to save the images. To try this out, open the Scripting/Templates/explode menu item and uncomment the final line of the script to save each a series of bitmaps.

@birkenstonks
Copy link
Author

Sorry for the late reply, but that's very convenient and perhaps exactly what we need. My collaborators and I would like to standardize the size of each image slice (e.g. 300 pixels x 300 pixels). Is that also possible with MRIcroGL's python scripting?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants