21
$\begingroup$

Bug introduced in 9.0.1 or earlier and persisting through 11.0.1 or later


When I try to export graphics as PNG, JPG and other rasterized formats using the right-click and choosing Save Graphic As..., if the notebook magnification is changed from 100%, Mathematica fails to export the image and returns the following error:

The specified setting for the option WindowSize cannot be used.

However this does not happen when Export function is used to export the graphic.

screenshot

I think this is a bug.

I am using Mathematica 9.0.1 installed on Microsoft Windows 7 (64-bit).

$\endgroup$
12
  • 1
    $\begingroup$ Try to figure out steps to reliably reproduce the error and let Wolfram know about it $\endgroup$
    – ssch
    Dec 18, 2012 at 14:33
  • 1
    $\begingroup$ Is this the same issue as: (55001)? If so I should close my own as a duplicate. $\endgroup$
    – Mr.Wizard
    Aug 4, 2014 at 6:44
  • 1
    $\begingroup$ @Karsten answer? $\endgroup$
    – Yves Klett
    Sep 8, 2014 at 5:30
  • 1
    $\begingroup$ But still present in 10.0.1 $\endgroup$
    – Mr.Wizard
    Sep 17, 2014 at 15:48
  • 3
    $\begingroup$ @Karsten7 Still not fixed in 11.0? Seriously what are they doing back there! FIX THE DAMN BUGS BEFORE ADDING MORE FEATURES. $\endgroup$
    – Mr.Wizard
    Aug 9, 2016 at 13:28

2 Answers 2

17
$\begingroup$

I have reported this as a bug and it's confirmed.

$\endgroup$
0
10
$\begingroup$

Here are three ways to change the magnification without breaking Save Graphic As...:

  1. Changing the magnification of the current notebook by executing

    SetOptions[EvaluationNotebook[], Magnification -> 1.5]
    
  2. Changing the magnification used during the current session by executing

    SetOptions[$FrontEndSession, Magnification -> 1.5]
    
  3. Persistently changing the magnification of all future front end sessions by executing

    SetOptions[$FrontEnd, Magnification -> 1.5]
    

(If the "MagnificationPopUp" in the lower right corner of the window still shows 100%, that now means 100% of 150% magnification.)


There are three ways to solve this problem after one used the "MagnificationPopUp" in the lower right corner of the window or Ctrl+mouse wheel to change the magnification:

  1. Use Export instead of "Save Selection As ...", e.g.

    Export[FileNameJoin[{NotebookDirectory[], "graphic.png"}], %]
    
  2. Change the notebook magnification in the lower right corner of the notebook window to 100%.

  3. Use the menu Window ▶ Magnification to select any of the listed magnifications.

$\endgroup$
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.