Emacs: View Image File

By Xah Lee. Date: . Last updated: .
Alt+x image-mode
View images, or manipulate images, such as rotate.
emacs image mode 2022-10-03 py9Qg
emacs image mode 2022-10-03

Open a image file. (Alt+x dired to open a dir, then Enter on a image file to open it. [see dired tutorial] )

Alt+x describe-mode to see its doc and keys.

Here's most useful keys. Some of these features are in emacs 27 only. [see Emacs 27.1 Features (released 2020-08)]

n
image-next-file
p
image-previous-file
+
image-increase-size Hold Ctrl and scroll mouse wheel to zoom in/out.
-
image-decrease-size
g
revert-buffer
o
image-save
r
image-rotate
C-c C-c
image-toggle-display
C-c C-x
image-toggle-hex-display

Viewing Animation

Enter
image-toggle-animation
f
image-next-frame
b
image-previous-frame
F
image-goto-frame
a +
image-increase-speed
a -
image-decrease-speed
a 0
image-reset-speed
a r
image-reverse-speed

Here's a gif file you can play with, at vi_clippy_assistant.gif

vi clippy assistant
gif animation.
ErgoEmacs mascot-s276x226
Buy Xah Emacs Tutorial

Emacs Tutorial

Quick Start

Font

Split Window

File

Buffer

Find Replace

Copy/Paste

Unicode

Whitespace

Rectangle Edit

Line Wrap

Shell

View Special File

Editing Brackets

Org Mode

HTML

Emacs Efficiency

Misc