The picture element defines a set of pictures items and controls how they are displayed.
<picture picturename>
/ animation = circle(duration, loopcount, start, end, xcenter, ycenter, radius) or path(duration, loopcount, x1, y1, x2, y2, x3, y3, ...) or points(duration, loopcount, x1, y1, x2, y2, x3, y3, ...) or size(duration, loopcount, startwidth, startheight, scale1, scale2, scale3, ...) or rotation(duration, loopcount, degrees1, degrees2, degrees3, ...)
/ dropposition = (x value, y value) or (x constant, y constant)
/ dropsource = value or boolean
/ droptarget = property or boolean
/ erase = true(red value, green value, blue value) or true(color value) or true(color name) or false
/ halign = alignment
/ height = numeric expression
/ hposition = x expression
/ items = itemname or ("item", "item", "item",... ) or ("path", "path", "path",... )
/ monitor = integer
/ onanimate = [expression; expression; expression; ...]
/ onprepare = [expression; expression; expression; ...]
/ position = (x value, y value)
/ resetinterval = integer
/ rotation = degrees
/ scale = factor
/ select = integer or selectionmode or selectionmode(pool) or dependency(stimulusname) or dependency(listname) or listname
/ size = (width variable, height variable)
/ valign = alignment
/ vposition = y expression
/ width = numeric expression
</picture>
picture.picturename.bottom
picture.picturename.currentindex
picture.picturename.currentitem
picture.picturename.currentvalue
picture.picturename.dropsource
picture.picturename.droptarget
picture.picturename.dropx
picture.picturename.dropy
picture.picturename.erase
picture.picturename.erasecolor
picture.picturename.erasecolorblue
picture.picturename.erasecolorgreen
picture.picturename.erasecolorred
picture.picturename.height
picture.picturename.heightpct
picture.picturename.heightpx
picture.picturename.hposition
picture.picturename.itemcount
picture.picturename.items
picture.picturename.left
picture.picturename.name
picture.picturename.nextindex
picture.picturename.nextvalue
picture.picturename.playthrough
picture.picturename.resetinterval
picture.picturename.right
picture.picturename.rotation
picture.picturename.scale
picture.picturename.selectedcount
picture.picturename.skip
picture.picturename.stimulusonset
picture.picturename.timestamp
picture.picturename.top
picture.picturename.typename
picture.picturename.unselectedcount
picture.picturename.vposition
picture.picturename.width
picture.picturename.widthpct
picture.picturename.widthpx
picture.picturename.xpct
picture.picturename.xpx
picture.picturename.ypct
picture.picturename.ypx
picture.picturename.appenditem
picture.picturename.clearitems
picture.picturename.insertitem
picture.picturename.item
picture.picturename.removeitem
picture.picturename.resetselection
picture.picturename.setitem
The picture element selects individual image files and presents them on the screen at the specified size, location, and rotation.
The following image formats are supported:
bmp, gif, jpeg, jpg, pbm, pgm, png, ppm, tif, tiff, wbmp, webp, xbm, xpm, svg
The following defines a set of picture items presented on the right side of the screen:
<picture moutains>
/ items = ("rainier.bmp", "baker.jpg", "sainthelens.gif")
/ position = (75, 50)
</picture>