Docs @ Psychtoolbox Wiki : Resolution

Search PTB Function help:
homepsychtoolbox.orgpage updateslogin

Revision [14396]

Last edited on 2011-12-18 16:13:59 by DocBot
Additions:
on a single-display setup. On a multi-display setup, this function only changes
the total size of the framebuffer, ie., 'newwidth' and 'newheight', the other
parameters are silently ignored. On Linux, the video settings of each individual
finishes by closing all its windows, or by some error. Terminating Matlab due to
Deletions:
on a single display setup. On a multi-display setup, this function only changes
the total size of the total framebuffer, ie., 'newwidth' and 'newheight', the
other parameters are silently ignored. The video settings of each individual
finishes by closing all its windows or by some error. Terminating Matlab due to


Revision [14321]

Edited on 2011-10-24 16:22:07 by DocBot
Additions:
%%(matlab;Usage)oldResolution=Screen('Resolution', screenNumber [, newwidth][, newheight][, newHz][, newPixelSize][, specialMode]);%%
set to anything else than its default of 32 bpp or 24 bpp. Other settings can
impair alpha-blending on some systems, a setting of 16 bpp will disable
alpha-blending and create drastically reduced color resolution of 5 bits per
color channel. A setting of 8 bpp is not supported at all on MacOS/X and will
create artifacts on all other systems. Use a size of 32 bpp even for clut
animation. This function may not work on all MS-Windows setups, your mileage may
vary...
On Linux the function only switches display settings in the conventional sense
on a single display setup. On a multi-display setup, this function only changes
the total size of the total framebuffer, ie., 'newwidth' and 'newheight', the
other parameters are silently ignored. The video settings of each individual
display, e.g., resolution, video refresh rate, panning, are queried and changed
via the [[Screen]]('ConfigureDisplay') function instead. This allows for much more
flexibility, e.g., you can have a framebuffer bigger than the combined
resolution of all displays and only show a fraction of it. You can change the
relative position of all physical displays, configure "mirror modes", "side by
side", or "on top of each other" display configurations.
quit command will also restore the system preference settings. On a
multi-display Linux setup, display settings are never automatically restored.
Deletions:
%%(matlab;Usage)oldResolution=Screen('Resolution', screenNumber [, newwidth] [, newheight] [, newHz] [, newPixelSize] [, specialMode]);%%
set to anything else than 32 bpp. A setting of 24 bpp can impair alpha-blending
on some systems, a setting of 16 bpp will disable alpha-blending and create
drastically reduced color resolution of 5 bits per color channel. A setting of 8
bpp is not supported at all on MacOS/X and will create artifacts on all other
systems. Use a size of 32 bpp even for clut animation. This function may not
work on all MS-Windows or GNU/Linux setups, your mileage may vary...
quit command or due to crash will also restore the system preference settings.


Revision [9211]

Edited on 2008-11-05 06:26:57 by DocBot
Additions:
""<div class="subfct" id="Screen">""===[[Resolution Screen('Resolution')]]===
Deletions:
""<div class="subfct" id="Screen" style="background-color:#eee; padding:1em; border-width:1px; border-style:solid; border-color:#ddd; margin-bottom: 2em;border-top: 5px solid #999999;">""===[[Resolution Screen('Resolution')]]===


Revision [7096]

Edited on 2008-07-10 16:13:43 by DocBot
Additions:
""<div class="subfct" id="Screen" style="background-color:#eee; padding:1em; border-width:1px; border-style:solid; border-color:#ddd; margin-bottom: 2em;border-top: 5px solid #999999;">""===[[Resolution Screen('Resolution')]]===
Screen('Resolutions')<<""</div>""
Deletions:
===[[Resolution Screen('Resolution')]]===
Screen('Resolutions')<<


Revision [5037]

Edited on 2008-04-26 21:35:59 by DocBot
Additions:
===[[Resolution Screen('Resolution')]]===
==[[Psychtoolbox]] › [[Screen]].{mex*,dll} subfunction==
%%(matlab;Usage)oldResolution=Screen('Resolution', screenNumber [, newwidth] [, newheight] [, newHz] [, newPixelSize] [, specialMode]);%%
[[Screen]]('Resolutions') command. "specialMode" is a flag you must not touch,
<<=====See also:=====
Screen('Resolutions')<<
Deletions:
===[[Resolution]]===
==ScreenFunctions==
Usage:
oldResolution=Screen('Resolution', screenNumber [, newwidth] [, newheight] [, newHz] [, newPixelSize] [, specialMode]);
Screen('Resolutions') command. "specialMode" is a flag you must not touch,
ScreenFunctions


Revision [2586]

The oldest known version of this page was created on 2008-03-15 23:19:37 by DocBot
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0186 seconds