Screen(‘PixelSize’)

Psychtoolbox>Screen.{mex*} subfunction

pixelSize=Screen(‘PixelSize’, windowPtrOrScreenNumber)

Return the current pixel size of a screen or window. pixel size refers to the
color depth of a pixel in bits - also known as bpp or bits per pixel, not to
spatial size of the pixel.

###See also: