File: image-mode.el.html
Defines image-mode, a major mode for visiting image files. Displaying
images only works if Emacs was built with support for displaying
such images. See Info node (emacs) Image Mode for more
information.
There is support for switching between viewing the text of the
file, the hex of the file and viewing the file as an image.
Viewing the image works by putting a display text-property on the
image data, with the image-data still present underneath; if the
resulting buffer file is saved to another name it will correctly save
the image data to the new file.
Todo:
Consolidate with doc-view to make them work on directories of images or on image files containing various "pages".
Defined variables (21)
image--transform-smoothing | Whether to use transform smoothing. |
image-animate-loop | Non-nil means animated images loop forever, rather than playing once. |
image-auto-resize | Non-nil to resize the image upon first display. |
image-auto-resize-max-scale-percent | Max size (in percent) to scale up to when ‘image-auto-resize’ is ‘fit-window’. |
image-auto-resize-on-window-resize | Non-nil to resize the image whenever the window’s dimensions change. |
image-auto-resize-timer | Timer for ‘image-auto-resize-on-window-resize’ option. |
image-fit-to-window-lock | Lock for ‘image-fit-to-window’ timer function. |
image-minor-mode | Non-nil if Image minor mode is enabled. |
image-minor-mode-hook | Hook run after entering or leaving ‘image-minor-mode’. |
image-minor-mode-map | Mode keymap for ‘image-minor-mode’. |
image-mode-map | Mode keymap for ‘image-mode’. |
image-mode-menu | Menu for Image mode. |
image-mode-new-window-functions | Special hook run when image data is requested in a new window. |
image-mode-winprops-alist | Alist of windows to window properties. |
image-multi-frame | Non-nil if image for the current Image mode buffer has multiple frames. |
image-text-based-formats | List of image formats that use a plain text format. |
image-transform-resize | The image resize operation. |
image-transform-right-angle-fudge | Snap distance to a multiple of a right angle. |
image-transform-rotation | Rotation angle for the image in the current Image mode buffer. |
image-transform-scale | The scale factor of the image being displayed. |
image-type | The image type for the current Image mode buffer. |