![]() If I shouldn’t change the screen color setting, what’s a simple way to change the background color for an entire experiment?Ĭhanging the blend mode on the window, it may simply be that it’s blending in a weird way Since I wanted to use a white background for all routines it seemed excessive to put in a “white background component” for each routine. But I thought that was only necessary if one wants to use different background colors instead of the same throughout the whole experiment. ![]() Perhaps that’s not supposed to be used for changing the background color? I’ve seen suggestions of adding a rectangular polygon component stretched out to fill the entirety of the screen in order to color the background. Note that when I described the “background settings”, I meant the experiment-level screen color settings. Let me know if none of this works and I can have a deeper look into how images are rendered! Changing the background of the image to be transparent rather than white (just try one or two to see if it works, then do the rest if it does).Make sure the images are all saves as.Changing the blend mode on the window, it may simply be that it’s blending in a weird way.As all the pixels near the edge are white and it’s (presumably) on a white background I can’t imagine why this would matter - as it should just average the nearby pixels, which are all white. I think this is probably that the exact size you want would sit wrong on the borders between pixels - which is why the outline changes at different positions. Your image will have its own size in pixels, PsychoPy will read this in pixel by pixel, resize it and then display it to be the size you specified. I may be wrong, but I think what’s happening here is to do with scaling. The problem becomes more obvious when using multiple image components in one routine: Note how for some strange reason, the line at the bottom has become thicker, while the one at the top has disappeared. If I place the image not in the middle of the screen, but offset by five degrees downwards, it looks like this: There is a faint grey outline running around the image. When I display the image in the center of the screen I get this: What specifically went wrong when you tried that?: 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. I set an image component to be shown in the middle of the screen, in an experiment with these screen background settings: Win10): MacOS Mojave 10.14.6 (also tried it out on a Windows 10 computer, same behavior there) If not then just delete and start from scratch.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |