Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Images within Emacs. Zoom in and out?

Tags:

emacs

zooming

When I open a PNG file in Emacs, I can navigate it using C-n, C-p, C-f and C-b, but how can I zoom in and out? I couldn't find anything here.

Ideally I would like to bind + and - to zoom in and out. Any pointers on this swould be great.

like image 696
Amelio Vazquez-Reina Avatar asked Mar 26 '14 21:03

Amelio Vazquez-Reina


1 Answers

I introduce image+. Usage from elisp file:

;;; Usage:

;; * To manupulate a image under cursor.
;;
;;  M-x imagex-global-sticky-mode
;;
;; * C-c + / C-c -: Zoom in/out image.
;; * C-c M-m: Adjust image to current frame size.
;; * C-c C-x C-s: Save current image.
;;
;; * Adjusted image when open image file.
;;
;;  M-x imagex-auto-adjust-mode
like image 141
d5884 Avatar answered Oct 31 '22 16:10

d5884