module

W3MImageDisplay

Constants

BINARY_PATHS = ["/usr/lib/w3m/w3mimgdisplay", "/usr/libexec/w3m/w3mimgdisplay", "/usr/lib64/w3m/w3mimgdisplay", "/usr/libexec64/w3m/w3mimgdisplay", "/usr/local/libexec/w3m/w3mimgdisplay"]
VERSION = "0.1.2"

Class methods

clear(x, y, w, h)

Clear the pixels, used by Image#clear

Source
font_size

The pixel size of the font {x, y}

Source
height

Vertical cells / height / lines

Source
image_size(path) : Tuple(Int32, Int32)

The width and height of an image file

Source
pixel_size

The size of the terminal window measured in pixels {x, y}

Source
size

The size of the terminal window in columns and lines {x, y}

Source
start

Get the process, and start it if uninitialised

Source
sync
Source
sync_communication
Source
terminate

Prevent future images being drawn

Does not seem to work in xterm

TODO: Raise when this is set?

Source
width

Horizontal cells / width / columns

Source

Nested types