[Thread Prev][Thread Next][Index]

[ferret_users] Mac, PyFerret, FRAME, image is cropped



Dear Mac-PyFerret users,

If you use PyFerret on Mac, do you get correct images from the FRAME command used interactively?  (Let's assume we all use the latest version of PyFerret.)

As has been reported several times on this mailing list, an image saved with the FRAME command

! . . . plot something . . .
frame/file=theimage.png

saves only the upper-left portion of the plot even though this plot is correctly displayed on the screen.

Billy (Kessler), Wei (Cheng), and I have been talking about this issue.  Billy and I have the problem but Wei doesn't.  Why?

It turns out that the hardware matters:  The results depend on the computer monitor.

Wei usually uses an external monitor, which doesn't cause the problem, but when she switched to her laptop's builtin monitor, she was able to reproduce the problem.

Also, Billy discovered that as he lowered the screen resolution of the monitor ("System Preferences" > "Display"), more portion of the image was captured by the FRAME command.

So, we suspect that the bug is
- in the graphics driver(s), or
- in how Qt uses the graphics drivers, or
- in how PyFerret uses Qt.

I hope somebody is able to fix it.

In the meantime, the available workarounds include

- use PyFerret in the non-interactive mode: "pyferret -nodisplay -script yourscript.jnl"
- find a "suitable" external monitor.
- lower the screen resolution.

Best regards,

Ryo


[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement