zoom(6x)

zoom6x

Wander around magnified desktop

Usage

zoom [--display host:display.screen] [--foreground color] [--background color] [--window] [--root] [--window-id number] [--mono] [--install] [--visual visual] [--delay usecs] [--duration secs] [--lenses] [--pixwidth pixels] [--pixheight pixels] [--pixspacex pixels] [--pixspacey pixels] [--lensoffsetx pixels] [--lensoffsety pixels] [--fps]

Overview

The zoom program takes an image, magnifies it, and scrolls around it, fatbits-style.

The image that it manipulates will be grabbed from the portion of the screen underlying the window, or from the system's video input, or from a random file on disk, as indicated by the grabDesktopImages, grabVideoFrames, and chooseRandomImages options in the ~/.xscreensaver file; see xscreensaver-settings(1) for more details.

Options

zoom accepts the following options:

--window

Draw on a newly-created window. This is the default.

--root

Draw on the root window.

--window-id number

Draw on the specified window.

--mono

If on a color display, pretend we're on a monochrome display.

--install

Install a private colormap for the window.

--visual visual

Specify which visual to use. Legal values are the name of a visual class, or the id number (decimal or hex) of a specific visual.

--delay microseconds

Slow it down.

--duration seconds

How long to run before loading a new image. Default 120 seconds.

--lenses

Instead of doing magnification we just copy an offset region from the original image. If lensoffsetx < pixwidth (and similarly for Y) then consecutive regions will overlap, giving the effect of looking through an array of lenses.

--pixwidth pixels

Width of the magnified pixels.

--pixheight pixels

Height of the magnified pixels.

--pixspacex pixels

Amount of black space between magnified pixels (X direction).

--pixspacey pixels

Amount of black space between magnified pixels (Y direction).

--lensoffsetx pixels

Distance in X direction between consecutive copied regions (only effective when -lenses used).

--lensoffsety pixels

Distance in Y direction between consecutive copied regions (only effective when -lenses used).

Environment

DISPLAY

to get the default host and display number.

XENVIRONMENT

to get the name of a resource file that overrides the global resources stored in the RESOURCE_MANAGER property.

XSCREENSAVER_WINDOW

The window ID to use with --root.

Releases

11 releases since Debian 3.1 (Sarge); the text changed 10 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7
  6. 8
  7. 9
  8. 10
  9. 11
  10. 12
  11. 13

--delay since Debian 12 (Bookworm); --duration since Debian 12 (Bookworm); --install since Debian 12 (Bookworm); --lenses since Debian 12 (Bookworm); --lensoffsetx since Debian 12 (Bookworm); --lensoffsety since Debian 12 (Bookworm); --mono since Debian 12 (Bookworm); --pixheight since Debian 12 (Bookworm); --pixspacex since Debian 12 (Bookworm); --pixspacey since Debian 12 (Bookworm); --pixwidth since Debian 12 (Bookworm); --root since Debian 12 (Bookworm); --visual since Debian 12 (Bookworm); --window since Debian 12 (Bookworm); --window-id since Debian 12 (Bookworm).

-delay until Debian 11 (Bullseye); -duration until Debian 11 (Bullseye); -install until Debian 11 (Bullseye); -lenses until Debian 11 (Bullseye); -lensoffsetx until Debian 11 (Bullseye); -lensoffsety until Debian 11 (Bullseye); -mono until Debian 11 (Bullseye); -pixheight until Debian 11 (Bullseye); -pixspacex until Debian 11 (Bullseye); -pixspacey until Debian 11 (Bullseye); -pixwidth until Debian 11 (Bullseye); -root until Debian 11 (Bullseye); -visual until Debian 11 (Bullseye); -window until Debian 11 (Bullseye).

Author

James Macnicol <[email protected]>, 20-Nov-2000. Much code was shamelessly stolen from the spotlight hack and a few others.

From xscreensaver-data-extra 6.09+dfsg1-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.