If this template helps then use it. If not then just delete and start from scratch.
OS (e.g. Win10): MacOS Mojave 10.14.6 (also tried it out on a Windows 10 computer, same behavior there)
PsychoPy version: 2020.2.4
Standard Standalone? (y/n): Yes
What are you trying to achieve?:
Display image components.
What did you try to make it work?:
I set an image component to be shown in the middle of the screen, in an experiment with these screen background settings:
- Color: $[1,1,1]
- Color space: rgb
- Units: deg
- Blend mode: average
I used this image:
There is of course a “frame” inside of the image, but as you can see, there is nothing at the very borders of the image.
What specifically went wrong when you tried that?:
When I display the image in the center of the screen I get this:
There is a faint grey outline running around the image.
If I place the image not in the middle of the screen, but offset by five degrees downwards, it looks like this:
Note how for some strange reason, the line at the bottom has become thicker, while the one at the top has disappeared.
The problem becomes more obvious when using multiple image components in one routine:
I thought that the problem was Mac-specific, but the same thing happens on my colleagues’ computers running Windows.
Looking at the images in sequence like this, it’s almost like PsychoPy is putting a black/grey box behind every image component. Only this “box” juts out ever so slightly, and when you move the image component around the box moves slightly more than the image component itself. Very odd.
Why is PsychoPy adding these outlines and how can I make it stop doing that?