Skip to content

Add support for saving larger-resolution images #14385

Open

Description

@larsoner

Mentioned in https://mne.discourse.group/t/getting-high-resolution-brain-plot-exports-for-publication-figures/11969/2 . PyVista supports this on their renderers, we should probably expose a size (or maybe scale as a single factor?) argument, and test that it does very highly correlate with a PIL-scaled version of the image.

Activity

  1. divyani-22 commented on Oct 7, 2026

    @divyani-22

    Hi I would like to work on this
    I will add a scale argument to Brain.screenshot() and Brain.save_image() and pass it through to PyVista's screenshot call.
    Later will add a test comparing the scaled screenshot with a PIL-resized version of the normal one.
    One question which came into my mind was do you prefer scale or size?

  2. larsoner commented on Oct 10, 2026

    @larsoner
    MemberAuthor

    I think a single scale float (that defaults to 1.) probably makes the most sense

  3. added 3 commits that reference this issue on Oct 23, 2026
    3fcd094
    f2a9b80
    696e1fe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions