MRIcron icon indicating copy to clipboard operation
MRIcron copied to clipboard

'Save file' command leads to very large finder window

Open birkenstonks opened this issue 2 years ago • 4 comments

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

birkenstonks avatar Feb 11 '22 18:02 birkenstonks

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.

neurolabusc avatar Feb 11 '22 18:02 neurolabusc

Ah ok. I tried MRIcroGL, but they don't have a command-S shortcut to save. Shouldn't be a big deal, but since there are so many images I'm trying to save time.

Thank you though! The command worked

On Fri, Feb 11, 2022 at 1:53 PM Chris Rorden @.***> wrote:

Well known feature added by Apple https://www.ctrl.blog/entry/how-to-osx-io-dialog-dimensions.html. This will be fully resolved with the next release. You can temporarily fix this running the following command:

defaults delete com.mricro.MRIcron NSNavPanelExpandedSizeForOpenMode

You may also want to try MRIcroGL https://github.com/rordenlab/MRIcroGL/releases 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.

— Reply to this email directly, view it on GitHub https://github.com/neurolabusc/MRIcron/issues/20#issuecomment-1036516849, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP25LJDWJZ7XV2BRQVDHV4DU2VLKNANCNFSM5OE7FQUA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

birkenstonks avatar Feb 11 '22 22:02 birkenstonks

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.

neurolabusc avatar Feb 12 '22 00:02 neurolabusc

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?

birkenstonks avatar Feb 17 '22 01:02 birkenstonks