Skip to content

Repository files navigation

MIQ: Medical Image Quick Look

MIQ is a lightweight macOS QuickLook extension for medical volume images. Press Space on a supported file in Finder to instantly get an interactive orthogonal slice view alongside a metadata panel. A Windows counterpart, MIQ-Win, is also available.

Bento-style feature grid for MIQ: press Space in Finder for an interactive Quick Look preview; supports NIfTI, FreeSurfer, MRtrix and NRRD formats; the center tile shows a brain MRI in a coronal/sagittal/axial 2x2 grid with a metadata panel listing format NIfTI-1, dimensions 211 x 215 x 175, spacing 1.00 mm isotropic, orientation RAS, datatype int16 and 1 volume; other tiles show FreeSurfer LUT segmentation coloring, color label files, Finder thumbnails, 4D file support, full configurability, and availability on macOS and Windows.

See it in action in the short video at the bottom of this page.

Main Features and Supported Formats

  • Instant, interactive preview — press Space for the 2×2 orthogonal slice and metadata view
  • Built for speed — memory-mapping, partial decompression, and network volumes read only what's needed for the first preview
  • 4D support — scrub through timepoints/volumes interactively
  • Segmentation coloring — including automatic label-color detection for FreeSurfer-style parcellations
  • Finder thumbnails — optional file-icon slice previews while browsing
  • Fully configurable — orientation display, intensity windowing, label colors, and metadata panel content/order, all from the main app

Supported formats:

  • NIfTI-1 & NIfTI-2.nii, .nii.gz
  • FreeSurfer.mgh, .mgz, .mgh.gz
  • MRtrix.mif, .mif.gz
  • NRRD.nrrd (only the single-file variant with attached header)

All formats are supported uncompressed and gzip-compressed. The extension relies on the file extension to determine the format, so it is important that files have the correct extensions.

Installation & Updates

The app and extension can be installed manually or via the package manager Homebrew.

The app is a universal binary for Apple Silicon (arm64) and Intel (x86_64) Macs and has been tested on macOS 14 (Sonoma), 15 (Sequoia), and 26 (Tahoe).

Manual installation

  1. 👉 Download the latest release (MIQ.app.zip) Latest Release
  2. Unzip and move MIQ.app to your /Applications folder.
  3. Open MIQ.app at least once to register the Quick Look extension.
  4. Press Space on any supported file in Finder.
  5. Optional: Customize the preview in the MIQ app.

Updating

MIQ updates itself. Open the MIQ app and choose MIQ → Check for Updates…, or leave Automatically check for updates enabled in Settings → About. MIQ only runs while its window is open, so checks happen when you open it; when a new version is available, MIQ downloads and installs it in place and relaunches. No manual download or replacing of MIQ.app is needed.

Installation via Homebrew

  1. Install on the command line:

    brew tap marcoduering/miq
    brew trust --cask marcoduering/miq/miq
    brew install --cask miq
  2. Open MIQ.app (in /Applications) at least once to register the Quick Look extension.

  3. Press Space on any supported file in Finder.

  4. Optional: Customize the preview in the MIQ app.

Updating via Homebrew

The cask is marked auto_updates, so the app updates itself via MIQ → Check for Updates… (see above). To update through Homebrew instead:

brew update
brew upgrade --cask miq --greedy

Usage

MIQ is a lightweight convenience tool for quickly inspecting medical image files directly from the Finder. It prioritizes speed and ease of use over advanced visualization, and is not meant to replace dedicated medical image viewers.

Customization

Use the settings (main app) to tailor the preview and thumbnails to your needs. The app's Usage panel documents the full set of preview and 4D-scrubbing gestures.

MIQ settings, Image Display pane: render orientation, upper and lower intensity clip percentiles, per-volume intensity window for 4D data, overlay colour, and a toggle for axis labels. MIQ settings, Metadata Panel pane: a drag-and-drop list of the fields shown in the preview's metadata panel (format, dimensions, spacing, orientation, datatype, volumes and scaling), each with its own on/off toggle. MIQ settings, Thumbnails pane: a toggle to show image slices as Finder file thumbnails (off by default), a button to copy the refresh command, and independent orientation and intensity clip controls for thumbnails.

Orientation

By default, MIQ displays data as stored on disk, without reorienting. Images may appear upside down, mirrored, or rotated depending on acquisition. This is by design, so you can inspect the raw data as-is. Optional settings reorient to Neurological or Radiological view.

Troubleshooting

.gz File Handling

macOS Quick Look routes files to extensions by file name suffix. Several kinds of tools, including archive utilities, source-code viewers, and format-specific extensions like MIQ, need to claim the broad .gz suffix to support compound extensions such as .nii.gz/.mif.gz. When more than one installed extension claims .gz, which one macOS shows isn't always consistent; this is general Quick Look behavior, not specific to MIQ. If a gzip-compressed file isn't opening with MIQ's preview, try deactivating other .gz-handling extensions.

Active Development

MIQ is free and open source, in active development, and was created with the support of AI coding agents. Report issues or feature suggestions via GitHub Issues, or see CONTRIBUTING.md to contribute. If MIQ is useful to you, consider sponsoring the project (entirely optional, always appreciated).

Disclaimer & License

MIQ is provided "as is" under MIT License, without warranty of any kind, express or implied. The authors and contributors accept no liability whatsoever for any direct, indirect, incidental, special, or consequential damages arising from the use or inability to use this software, including but not limited to data loss, incorrect image rendering, or any decisions made on the basis of previews generated by this tool.

Caution

This software is not a medical device and is not intended for diagnostic use. It is a developer and researcher convenience tool only. Do not use it to make clinical decisions.

See it in action

MIQ.mp4

About

Medical Image QuickLook — Modern, interactive macOS Quick Look extension for medical images in NIfTI, FreeSurfer mgh, MRtrix mif, and NRRD format.

Topics

Resources

Contributing

Stars

75 stars

Watchers

4 watching

Forks

Releases

Sponsor this project

Contributors

Languages