How to rescale widget/image (inline script)
Hello,
I would like to ask how can I change the size of the image widget (or image). OpenSesame rescales image automatically and as a consequence it is smaller than it should be. I failed to find how to do this, thus I'm asking here.
Sincerely
Mikoł○aj Szulczewski
Comments
Hi Miko,
You may want to try this function: http://osdoc.cogsci.nl/python/canvas/#function-__canvasimage__fname-centertrue-xnone-ynone-scalenone , where you can indicate your
scaleparameter value. This would require a canvas object rather than a form object.If you do want to keep using forms, then you can use the
adjustparameter (see http://osdoc.cogsci.nl/forms/image-functions/). This parameter is set to True by default, meaning it adjusts the image.Cheers,
Josh