I’m asking for some suggestions on how I might save a ShapeStim to a file. I adapted some code I found on a different post so that participants can use the mouse to draw on the screen by continually updating a ShapeStim, and I would like to save their drawing to a file. I’m thinking a png so I could later open it and see what they drew.
I have plenty of coding experience but not much in manipulating image files, so I’m just wondering if you all had a suggestion for a place to look, or if there were a format or data container that would be a flexible way of storing the data. Can I convert the ShapeStim to an object that can be handed to a different library or something?
Thanks in advance, I’d be happy to post any working solutions here for those who might find this interesting in the future. Hope you’re all doing great.