viewport changes the size of the viewing port--the visible openGL window (and thus the size of all png files subsequently output).
viewport width, height
cmd.viewport(int width, int height)